diff --git a/apis/cluster.cattle.io/v1/types.go b/apis/cluster.cattle.io/v1/types.go index e13e8d32..6eb37c5c 100644 --- a/apis/cluster.cattle.io/v1/types.go +++ b/apis/cluster.cattle.io/v1/types.go @@ -116,6 +116,8 @@ type RancherKubernetesEngineConfig struct { Authentication AuthConfig `yaml:"auth" json:"auth,omitempty"` // YAML manifest for user provided addons to be deployed on the cluster Addons string `yaml:"addons" json:"addons,omitempty"` + // SSH Private Key Path + SSHKeyPath string `yaml:"ssh_key_path" json:"sshKeyPath,omitempty"` } type RKEConfigHost 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 9a76d9b5..74eab2a5 100644 --- a/client/cluster/v1/zz_generated_rancher_kubernetes_engine_config.go +++ b/client/cluster/v1/zz_generated_rancher_kubernetes_engine_config.go @@ -6,6 +6,7 @@ const ( RancherKubernetesEngineConfigFieldAuthentication = "authentication" RancherKubernetesEngineConfigFieldHosts = "hosts" RancherKubernetesEngineConfigFieldNetwork = "network" + RancherKubernetesEngineConfigFieldSSHKeyPath = "sshKeyPath" RancherKubernetesEngineConfigFieldServices = "services" ) @@ -14,5 +15,6 @@ type RancherKubernetesEngineConfig struct { Authentication AuthConfig `json:"authentication,omitempty"` Hosts []RKEConfigHost `json:"hosts,omitempty"` Network NetworkConfig `json:"network,omitempty"` + SSHKeyPath string `json:"sshKeyPath,omitempty"` Services RKEConfigServices `json:"services,omitempty"` }