mirror of
https://github.com/rancher/types.git
synced 2025-09-01 05:09:10 +00:00
add REKImages
This commit is contained in:
@@ -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 {
|
||||
|
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user