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:
@@ -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 {
|
||||
|
@@ -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"`
|
||||
|
Reference in New Issue
Block a user