From 75a63be3c8ed71f3c9522a3bb940f2ceca2e7fcb Mon Sep 17 00:00:00 2001 From: Predrag Rogic Date: Sun, 23 Jan 2022 01:24:57 +0000 Subject: [PATCH] add 'is-default-class' --- deploy/addons/ingress/ingress-deploy.yaml.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/addons/ingress/ingress-deploy.yaml.tmpl b/deploy/addons/ingress/ingress-deploy.yaml.tmpl index b90b1a85ea..170b4bc691 100644 --- a/deploy/addons/ingress/ingress-deploy.yaml.tmpl +++ b/deploy/addons/ingress/ingress-deploy.yaml.tmpl @@ -620,13 +620,13 @@ spec: apiVersion: networking.k8s.io/v1 kind: IngressClass metadata: + annotations: + ingressclass.kubernetes.io/is-default-class: "true" labels: app.kubernetes.io/component: controller app.kubernetes.io/instance: ingress-nginx app.kubernetes.io/name: ingress-nginx name: nginx - annotations: - ingressclass.kubernetes.io/is-default-class: "true" spec: controller: k8s.io/ingress-nginx ---