mirror of
https://github.com/rancher/rke.git
synced 2025-08-31 22:46:25 +00:00
Add compatibility with k8s v1.22
This commit is contained in:
@@ -849,6 +849,10 @@ func (c *Cluster) setAddonsDefaults() {
|
||||
}
|
||||
c.Ingress.DefaultBackend = &defaultBackend
|
||||
}
|
||||
if c.Ingress.DefaultIngressClass == nil {
|
||||
defaultIngressClass := true
|
||||
c.Ingress.DefaultIngressClass = &defaultIngressClass
|
||||
}
|
||||
}
|
||||
|
||||
func setDaemonsetAddonDefaults(updateStrategy *v3.DaemonSetUpdateStrategy) *v3.DaemonSetUpdateStrategy {
|
||||
|
Reference in New Issue
Block a user