mirror of
https://github.com/rancher/types.git
synced 2025-08-31 12:48:45 +00:00
Merge pull request #185 from galal-hussein/fix_ingress_type
Fix ingress rke type
This commit is contained in:
@@ -197,7 +197,7 @@ type AuthzConfig struct {
|
||||
|
||||
type IngressConfig struct {
|
||||
// Ingress controller type used by kubernetes
|
||||
Type string `yaml:"type" json:"type,omitempty"`
|
||||
Provider string `yaml:"provider" json:"provider,omitempty"`
|
||||
// Ingress controller options
|
||||
Options map[string]string `yaml:"options" json:"options,omitempty"`
|
||||
// NodeSelector key pair
|
||||
|
@@ -4,11 +4,11 @@ const (
|
||||
IngressConfigType = "ingressConfig"
|
||||
IngressConfigFieldNodeSelector = "nodeSelector"
|
||||
IngressConfigFieldOptions = "options"
|
||||
IngressConfigFieldType = "type"
|
||||
IngressConfigFieldProvider = "provider"
|
||||
)
|
||||
|
||||
type IngressConfig struct {
|
||||
NodeSelector map[string]string `json:"nodeSelector,omitempty"`
|
||||
Options map[string]string `json:"options,omitempty"`
|
||||
Type string `json:"type,omitempty"`
|
||||
Provider string `json:"provider,omitempty"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user