mirror of
https://github.com/rancher/rke.git
synced 2025-09-01 15:06:23 +00:00
Updated cluster/addons.go to allow it to parse and send new http_port and https_ports to the ingress template
Fixed up yaml import package Updated rke ingress addon to support a new field hostNetwork. Users can use this now to run ingress controller on overlay network only Ported additional ingress types changes into types/rke_types Fixed linting errors related to variable names in addons.go and rke_types Changed types for hostNetwork and http/https ports Added validation to check http/https ports are different Changed rke_types for additional spec in ingressConfig. Changed validation and default logic accordingly
This commit is contained in:
committed by
Gaurav Mehta
parent
33c69c0108
commit
5a63de09bc
@@ -89,6 +89,9 @@ const (
|
||||
DefaultMaxUnavailableControlplane = "1"
|
||||
DefaultNodeDrainTimeout = 120
|
||||
DefaultNodeDrainGracePeriod = -1
|
||||
DefaultHTTPPort = 80
|
||||
DefaultHTTPSPort = 443
|
||||
DefaultNetworkMode = "hostNetwork"
|
||||
)
|
||||
|
||||
var (
|
||||
|
Reference in New Issue
Block a user