1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-16 15:10:12 +00:00

Set default http backend to be optional

Set default http backend to be optional for ingress nginx. It will be
enabled by default.
This commit is contained in:
Nick Gerace
2020-12-03 14:53:51 -05:00
parent 99af2bdf95
commit da6d9dcf9e
6 changed files with 68 additions and 2 deletions

View File

@@ -443,6 +443,8 @@ type IngressConfig struct {
NetworkMode string `yaml:"network_mode" json:"networkMode,omitempty"`
// Tolerations for Deployments
Tolerations []v1.Toleration `yaml:"tolerations" json:"tolerations,omitempty"`
// Enable or disable nginx default-http-backend
DefaultBackend *bool `yaml:"default_backend" json:"defaultBackend,omitempty" norman:"default=true"`
}
type ExtraEnv struct {