mirror of
https://github.com/rancher/types.git
synced 2025-08-31 12:48:45 +00:00
add generated files with new field
This commit is contained in:
@@ -10,6 +10,7 @@ const (
|
||||
RancherKubernetesEngineConfigFieldNetwork = "network"
|
||||
RancherKubernetesEngineConfigFieldNodes = "nodes"
|
||||
RancherKubernetesEngineConfigFieldPrivateRegistries = "privateRegistries"
|
||||
RancherKubernetesEngineConfigFieldSSHAgentAuth = "sshAgentAuth"
|
||||
RancherKubernetesEngineConfigFieldSSHKeyPath = "sshKeyPath"
|
||||
RancherKubernetesEngineConfigFieldServices = "services"
|
||||
RancherKubernetesEngineConfigFieldVersion = "kubernetesVersion"
|
||||
@@ -24,6 +25,7 @@ type RancherKubernetesEngineConfig struct {
|
||||
Network *NetworkConfig `json:"network,omitempty" yaml:"network,omitempty"`
|
||||
Nodes []RKEConfigNode `json:"nodes,omitempty" yaml:"nodes,omitempty"`
|
||||
PrivateRegistries []PrivateRegistry `json:"privateRegistries,omitempty" yaml:"privateRegistries,omitempty"`
|
||||
SSHAgentAuth bool `json:"sshAgentAuth,omitempty" yaml:"sshAgentAuth,omitempty"`
|
||||
SSHKeyPath string `json:"sshKeyPath,omitempty" yaml:"sshKeyPath,omitempty"`
|
||||
Services *RKEConfigServices `json:"services,omitempty" yaml:"services,omitempty"`
|
||||
Version string `json:"kubernetesVersion,omitempty" yaml:"kubernetesVersion,omitempty"`
|
||||
|
@@ -10,6 +10,7 @@ const (
|
||||
RKEConfigNodeFieldNodeId = "nodeId"
|
||||
RKEConfigNodeFieldPort = "port"
|
||||
RKEConfigNodeFieldRole = "role"
|
||||
RKEConfigNodeFieldSSHAgentAuth = "sshAgentAuth"
|
||||
RKEConfigNodeFieldSSHKey = "sshKey"
|
||||
RKEConfigNodeFieldSSHKeyPath = "sshKeyPath"
|
||||
RKEConfigNodeFieldUser = "user"
|
||||
@@ -24,6 +25,7 @@ type RKEConfigNode struct {
|
||||
NodeId string `json:"nodeId,omitempty" yaml:"nodeId,omitempty"`
|
||||
Port string `json:"port,omitempty" yaml:"port,omitempty"`
|
||||
Role []string `json:"role,omitempty" yaml:"role,omitempty"`
|
||||
SSHAgentAuth bool `json:"sshAgentAuth,omitempty" yaml:"sshAgentAuth,omitempty"`
|
||||
SSHKey string `json:"sshKey,omitempty" yaml:"sshKey,omitempty"`
|
||||
SSHKeyPath string `json:"sshKeyPath,omitempty" yaml:"sshKeyPath,omitempty"`
|
||||
User string `json:"user,omitempty" yaml:"user,omitempty"`
|
||||
|
Reference in New Issue
Block a user