1
0
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:
Alena Prokharchyk
2018-02-06 16:20:21 -08:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

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

View File

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