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

Merge pull request #289 from dahendel/addons_include

Adding support for urls and paths for addons
This commit is contained in:
Alena Prokharchyk
2018-03-21 11:06:35 -07:00
committed by GitHub
3 changed files with 9 additions and 0 deletions

View File

@@ -11,6 +11,8 @@ type RancherKubernetesEngineConfig struct {
Authentication AuthnConfig `yaml:"authentication" json:"authentication,omitempty"`
// YAML manifest for user provided addons to be deployed on the cluster
Addons string `yaml:"addons" json:"addons,omitempty"`
// List of urls or paths for addons
AddonsInclude []string `yaml:"addons_include" json:"addonsInclude,omitempty"`
// List of images used internally for proxy, cert downlaod and kubedns
SystemImages RKESystemImages `yaml:"system_images" json:"systemImages,omitempty"`
// SSH Private Key Path

View File

@@ -5242,6 +5242,11 @@ func (in *RancherKubernetesEngineConfig) DeepCopyInto(out *RancherKubernetesEngi
in.Services.DeepCopyInto(&out.Services)
in.Network.DeepCopyInto(&out.Network)
in.Authentication.DeepCopyInto(&out.Authentication)
if in.AddonsInclude != nil {
in, out := &in.AddonsInclude, &out.AddonsInclude
*out = make([]string, len(*in))
copy(*out, *in)
}
out.SystemImages = in.SystemImages
in.Authorization.DeepCopyInto(&out.Authorization)
if in.PrivateRegistries != nil {