mirror of
https://github.com/rancher/rke.git
synced 2025-09-16 06:59:25 +00:00
Change ingress type to ingress provider
This commit is contained in:
@@ -91,8 +91,8 @@ func (c *Cluster) setClusterDefaults(ctx context.Context) {
|
||||
log.Warnf(ctx, "PodSecurityPolicy can't be enabled with RBAC support disabled")
|
||||
c.Services.KubeAPI.PodSecurityPolicy = false
|
||||
}
|
||||
if len(c.Ingress.Type) == 0 {
|
||||
c.Ingress.Type = DefaultIngressController
|
||||
if len(c.Ingress.Provider) == 0 {
|
||||
c.Ingress.Provider = DefaultIngressController
|
||||
}
|
||||
|
||||
c.setClusterImageDefaults()
|
||||
|
Reference in New Issue
Block a user