From d73835d60b62af954eab9eaad0acd0cd9641676a Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Wed, 16 Oct 2024 12:18:15 +0200 Subject: [PATCH] Try more stuff --- argocd-nginx/overlays/test/argocd-ingress.yaml | 10 +++------- cert-cluster-issuer/cluster-issuer.yaml | 3 +-- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/argocd-nginx/overlays/test/argocd-ingress.yaml b/argocd-nginx/overlays/test/argocd-ingress.yaml index 30a1277..56a38f4 100644 --- a/argocd-nginx/overlays/test/argocd-ingress.yaml +++ b/argocd-nginx/overlays/test/argocd-ingress.yaml @@ -5,6 +5,9 @@ metadata: namespace: argocd annotations: cert-manager.io/cluster-issuer: "letsencrypt" + acme.cert-manager.io/http01-ingress-class: nginx + acme.cert-manager.io/http01-edit-in-place: "false" + nginx.ingress.kubernetes.io/from-to-www-redirect: "false" spec: defaultBackend: service: @@ -20,13 +23,6 @@ spec: - host: argocd-test.streams.sunet.se http: paths: - - path: /.well-known/acme-challenge - pathType: Prefix - backend: - service: - name: acme-solver - port: - number: 80 - path: / pathType: Prefix backend: diff --git a/cert-cluster-issuer/cluster-issuer.yaml b/cert-cluster-issuer/cluster-issuer.yaml index 312667c..8b2776d 100644 --- a/cert-cluster-issuer/cluster-issuer.yaml +++ b/cert-cluster-issuer/cluster-issuer.yaml @@ -17,5 +17,4 @@ spec: solvers: - http01: ingress: - serviceType: ClusterIP - name: acme-solver + class: public