mirror of
https://github.com/rancher/types.git
synced 2025-06-26 21:51:33 +00:00
Add node labels and ingress config to rke
This commit is contained in:
parent
2ae886fa71
commit
96c20153fc
@ -23,6 +23,8 @@ type RancherKubernetesEngineConfig struct {
|
||||
Version string `yaml:"kubernetes_version" json:"kubernetesVersion,omitempty"`
|
||||
// List of private registries and their credentials
|
||||
PrivateRegistries []PrivateRegistry `yaml:"private_registries" json:"privateRegistries,omitempty"`
|
||||
// Ingress controller used in the cluster
|
||||
Ingress IngressConfig `yaml:"ingress" json:"ingress,omitempty"`
|
||||
}
|
||||
|
||||
type PrivateRegistry struct {
|
||||
@ -76,6 +78,8 @@ type RKEConfigNode struct {
|
||||
SSHKey string `yaml:"ssh_key" json:"sshKey,omitempty"`
|
||||
// SSH Private Key Path
|
||||
SSHKeyPath string `yaml:"ssh_key_path" json:"sshKeyPath,omitempty"`
|
||||
// Node Labels
|
||||
Labels map[string]string `yaml:"labels" json:"labels,omitempty"`
|
||||
}
|
||||
|
||||
type RKEConfigServices struct {
|
||||
@ -164,3 +168,12 @@ type AuthzConfig struct {
|
||||
// Authorization mode options
|
||||
Options map[string]string `yaml:"options" json:"options,omitempty"`
|
||||
}
|
||||
|
||||
type IngressConfig struct {
|
||||
// Ingress controller type used by kubernetes
|
||||
Type string `yaml:"type" json:"type,omitempty"`
|
||||
// Ingress controller options
|
||||
Options map[string]string `yaml:"options" json:"options,omitempty"`
|
||||
// NodeSelector key pair
|
||||
NodeSelector map[string]string `yaml:"node_selector" json:"nodeSelector,omitempty"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user