From 15139041a4cc25356561a4624d7a816cc379f396 Mon Sep 17 00:00:00 2001 From: Miguel Caballer Fernandez Date: Thu, 22 Feb 2024 13:15:26 +0100 Subject: [PATCH] Set the ingress as default --- files/ingress-nginx.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/files/ingress-nginx.yaml b/files/ingress-nginx.yaml index beb2db75..bb7d33ae 100644 --- a/files/ingress-nginx.yaml +++ b/files/ingress-nginx.yaml @@ -415,6 +415,8 @@ metadata: app.kubernetes.io/component: controller name: nginx namespace: ingress-nginx + annotations: + ingressclass.kubernetes.io/is-default-class: "true" spec: controller: k8s.io/ingress-nginx --- @@ -568,4 +570,4 @@ roleRef: subjects: - kind: ServiceAccount name: ingress-nginx-admission - namespace: ingress-nginx \ No newline at end of file + namespace: ingress-nginx