mirror of
https://github.com/rancher/types.git
synced 2025-07-16 06:25:50 +00:00
Merge pull request #43 from moelsayed/rename_rke_images
Rename rke_images to system_images
This commit is contained in:
commit
6106f4926c
@ -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"`
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user