1
0
mirror of https://github.com/rancher/types.git synced 2025-09-02 13:45:51 +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

@@ -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"`