mirror of
https://github.com/rancher/types.git
synced 2025-06-29 06:56:50 +00:00
Merge pull request #289 from dahendel/addons_include
Adding support for urls and paths for addons
This commit is contained in:
commit
c45cf4584e
@ -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
|
||||
|
@ -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 {
|
||||
|
@ -3,6 +3,7 @@ package client
|
||||
const (
|
||||
RancherKubernetesEngineConfigType = "rancherKubernetesEngineConfig"
|
||||
RancherKubernetesEngineConfigFieldAddons = "addons"
|
||||
RancherKubernetesEngineConfigFieldAddonsInclude = "addonsInclude"
|
||||
RancherKubernetesEngineConfigFieldAuthentication = "authentication"
|
||||
RancherKubernetesEngineConfigFieldAuthorization = "authorization"
|
||||
RancherKubernetesEngineConfigFieldIgnoreDockerVersion = "ignoreDockerVersion"
|
||||
@ -18,6 +19,7 @@ const (
|
||||
|
||||
type RancherKubernetesEngineConfig struct {
|
||||
Addons string `json:"addons,omitempty" yaml:"addons,omitempty"`
|
||||
AddonsInclude []string `json:"addonsInclude,omitempty" yaml:"addonsInclude,omitempty"`
|
||||
Authentication *AuthnConfig `json:"authentication,omitempty" yaml:"authentication,omitempty"`
|
||||
Authorization *AuthzConfig `json:"authorization,omitempty" yaml:"authorization,omitempty"`
|
||||
IgnoreDockerVersion bool `json:"ignoreDockerVersion,omitempty" yaml:"ignoreDockerVersion,omitempty"`
|
||||
|
Loading…
Reference in New Issue
Block a user