1
0
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:
Bill Maxwell
2018-03-12 11:04:09 -07:00
parent 808b6f6ed3
commit 7aa41ebeb9
2 changed files with 4 additions and 0 deletions

View File

@@ -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"`

View File

@@ -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"`