1
0
mirror of https://github.com/rancher/types.git synced 2025-09-01 05:09:10 +00:00

add REKImages

This commit is contained in:
moelsayed
2017-12-02 04:43:50 +02:00
parent 6b16d10452
commit b74e50fda5
3 changed files with 11 additions and 0 deletions

View File

@@ -120,6 +120,8 @@ type RancherKubernetesEngineConfig struct {
Addons string `yaml:"addons" json:"addons,omitempty"`
// SSH Private Key Path
SSHKeyPath string `yaml:"ssh_key_path" json:"sshKeyPath,omitempty"`
// List of images used internally for proxy, cert downlaod and kubedns
RKEImages map[string]string `yaml:"rke_images" json:"rke_images,omitempty"`
}
type RKEConfigNode struct {

View File

@@ -961,6 +961,13 @@ 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
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
return
}