1
0
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:
galal-hussein
2018-02-07 02:30:25 +02:00
parent f32d352500
commit dcacd86b32
3 changed files with 7 additions and 7 deletions

View File

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