diff --git a/apis/cluster.cattle.io/v1/types.go b/apis/cluster.cattle.io/v1/types.go index 94ef6f0b..1dff386e 100644 --- a/apis/cluster.cattle.io/v1/types.go +++ b/apis/cluster.cattle.io/v1/types.go @@ -122,6 +122,8 @@ type RancherKubernetesEngineConfig struct { Addons string `yaml:"addons" json:"addons,omitempty"` // List of images used internally for proxy, cert downlaod and kubedns RKEImages map[string]string `yaml:"rke_images" json:"rke_images,omitempty"` + // SSH Private Key Path + SSHKeyPath string `yaml:"ssh_key_path" json:"sshKeyPath,omitempty"` } type RKEConfigNode struct { diff --git a/client/cluster/v1/zz_generated_rancher_kubernetes_engine_config.go b/client/cluster/v1/zz_generated_rancher_kubernetes_engine_config.go index 38eb5e1d..aa47795c 100644 --- a/client/cluster/v1/zz_generated_rancher_kubernetes_engine_config.go +++ b/client/cluster/v1/zz_generated_rancher_kubernetes_engine_config.go @@ -7,6 +7,7 @@ const ( RancherKubernetesEngineConfigFieldNetwork = "network" RancherKubernetesEngineConfigFieldNodes = "nodes" RancherKubernetesEngineConfigFieldRKEImages = "rke_images" + RancherKubernetesEngineConfigFieldSSHKeyPath = "sshKeyPath" RancherKubernetesEngineConfigFieldServices = "services" ) @@ -16,5 +17,6 @@ type RancherKubernetesEngineConfig struct { Network *NetworkConfig `json:"network,omitempty"` Nodes []RKEConfigNode `json:"nodes,omitempty"` RKEImages map[string]string `json:"rke_images,omitempty"` + SSHKeyPath string `json:"sshKeyPath,omitempty"` Services *RKEConfigServices `json:"services,omitempty"` }