mirror of
https://github.com/rancher/rke.git
synced 2025-09-01 15:06:23 +00:00
Merge pull request #1911 from ibrokethecloud/master
Allow addons.go to parse http and https ports for ingress controller
This commit is contained in:
@@ -415,6 +415,12 @@ type IngressConfig struct {
|
||||
ExtraVolumeMounts []ExtraVolumeMount `yaml:"extra_volume_mounts" json:"extraVolumeMounts,omitempty" norman:"type=array[json]"`
|
||||
// nginx daemonset upgrade strategy
|
||||
UpdateStrategy *DaemonSetUpdateStrategy `yaml:"update_strategy" json:"updateStrategy,omitempty"`
|
||||
// Http port for ingress controller daemonset
|
||||
HTTPPort int `yaml:"http_port" json:"httpPort,omitempty"`
|
||||
// Https port for ingress controller daemonset
|
||||
HTTPSPort int `yaml:"https_port" json:"httpsPort,omitempty"`
|
||||
// NetworkMode selector for ingress controller pods. Default is HostNetwork
|
||||
NetworkMode string `yaml:"network_mode" json:"networkMode,omitempty"`
|
||||
}
|
||||
|
||||
type ExtraEnv struct {
|
||||
|
Reference in New Issue
Block a user