diff --git a/apis/cluster.cattle.io/v1/types.go b/apis/cluster.cattle.io/v1/types.go index 1dff386e..ff1f6e72 100644 --- a/apis/cluster.cattle.io/v1/types.go +++ b/apis/cluster.cattle.io/v1/types.go @@ -121,7 +121,7 @@ type RancherKubernetesEngineConfig struct { // YAML manifest for user provided addons to be deployed on the cluster 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"` + SystemImages map[string]string `yaml:"system_images" json:"systemImages,omitempty"` // SSH Private Key Path SSHKeyPath string `yaml:"ssh_key_path" json:"sshKeyPath,omitempty"` } diff --git a/apis/cluster.cattle.io/v1/zz_generated_deepcopy.go b/apis/cluster.cattle.io/v1/zz_generated_deepcopy.go index 25e82ccb..30bf3130 100644 --- a/apis/cluster.cattle.io/v1/zz_generated_deepcopy.go +++ b/apis/cluster.cattle.io/v1/zz_generated_deepcopy.go @@ -1009,8 +1009,8 @@ func (in *RancherKubernetesEngineConfig) DeepCopyInto(out *RancherKubernetesEngi in.Services.DeepCopyInto(&out.Services) in.Network.DeepCopyInto(&out.Network) in.Authentication.DeepCopyInto(&out.Authentication) - if in.RKEImages != nil { - in, out := &in.RKEImages, &out.RKEImages + if in.SystemImages != nil { + in, out := &in.SystemImages, &out.SystemImages *out = make(map[string]string, len(*in)) for key, val := range *in { (*out)[key] = val 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 aa47795c..f5b27f7f 100644 --- a/client/cluster/v1/zz_generated_rancher_kubernetes_engine_config.go +++ b/client/cluster/v1/zz_generated_rancher_kubernetes_engine_config.go @@ -6,9 +6,9 @@ const ( RancherKubernetesEngineConfigFieldAuthentication = "auth" RancherKubernetesEngineConfigFieldNetwork = "network" RancherKubernetesEngineConfigFieldNodes = "nodes" - RancherKubernetesEngineConfigFieldRKEImages = "rke_images" RancherKubernetesEngineConfigFieldSSHKeyPath = "sshKeyPath" RancherKubernetesEngineConfigFieldServices = "services" + RancherKubernetesEngineConfigFieldSystemImages = "systemImages" ) type RancherKubernetesEngineConfig struct { @@ -16,7 +16,7 @@ type RancherKubernetesEngineConfig struct { Authentication *AuthConfig `json:"auth,omitempty"` 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"` + SystemImages map[string]string `json:"systemImages,omitempty"` }