From f38173afceab0fd220105baab70ea9c5cb162e34 Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Wed, 3 Aug 2022 21:42:20 +0200 Subject: Make nginx watch unclassed ingresses I can't seem to make cert-manager create Ingress resources that use a proper spec.ingressClassName. --- .../configuration/cluster-issuers/letsencrypt-staging.yaml | 3 --- .../share/manifests/infrastructure/releases/ingress-nginx/release.yaml | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/playbooks.d/k3s-master/share/manifests/infrastructure/configuration/cluster-issuers/letsencrypt-staging.yaml b/playbooks.d/k3s-master/share/manifests/infrastructure/configuration/cluster-issuers/letsencrypt-staging.yaml index 5922ff2..73a1f50 100644 --- a/playbooks.d/k3s-master/share/manifests/infrastructure/configuration/cluster-issuers/letsencrypt-staging.yaml +++ b/playbooks.d/k3s-master/share/manifests/infrastructure/configuration/cluster-issuers/letsencrypt-staging.yaml @@ -13,8 +13,5 @@ spec: - http01: ingress: class: nginx - ingressTemplate: - spec: - ingressClassName: "nginx" selector: {} ... diff --git a/playbooks.d/k3s-master/share/manifests/infrastructure/releases/ingress-nginx/release.yaml b/playbooks.d/k3s-master/share/manifests/infrastructure/releases/ingress-nginx/release.yaml index 457334a..dc5a3e8 100644 --- a/playbooks.d/k3s-master/share/manifests/infrastructure/releases/ingress-nginx/release.yaml +++ b/playbooks.d/k3s-master/share/manifests/infrastructure/releases/ingress-nginx/release.yaml @@ -22,4 +22,5 @@ spec: ports: http: 8080 https: 8443 + watchIngressWithoutClass: true ... -- cgit v1.1