1
0
mirror of https://github.com/rancher/types.git synced 2025-09-16 23:08:25 +00:00

add RKE cluster addons

This commit is contained in:
moelsayed
2017-11-18 03:11:27 +02:00
committed by Denise
parent 2099730e28
commit efe8c45673
2 changed files with 4 additions and 0 deletions

View File

@@ -114,6 +114,8 @@ type RancherKubernetesEngineConfig struct {
Network NetworkConfig `yaml:"network" json:"network,omitempty"`
// Authentication configuration used in the cluster (default: x509)
Authentication AuthConfig `yaml:"auth" json:"auth,omitempty"`
// YAML manifest for user provided addons to be deployed on the cluster
Addons string `yaml:"addons" json:"addons,omitempty"`
}
type RKEConfigHost struct {

View File

@@ -2,6 +2,7 @@ package client
const (
RancherKubernetesEngineConfigType = "rancherKubernetesEngineConfig"
RancherKubernetesEngineConfigFieldAddons = "addons"
RancherKubernetesEngineConfigFieldAuthentication = "authentication"
RancherKubernetesEngineConfigFieldHosts = "hosts"
RancherKubernetesEngineConfigFieldNetwork = "network"
@@ -9,6 +10,7 @@ const (
)
type RancherKubernetesEngineConfig struct {
Addons string `json:"addons,omitempty"`
Authentication AuthConfig `json:"authentication,omitempty"`
Hosts []RKEConfigHost `json:"hosts,omitempty"`
Network NetworkConfig `json:"network,omitempty"`