From 2d027b05a7d99971499cd9e9e9346f21d40f8d23 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Wed, 16 Oct 2024 16:53:50 +0200 Subject: [PATCH] try again --- argocd-nginx/base/argocd-cert-issuer.yaml | 1 + argocd-nginx/base/argocd-ingress.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/argocd-nginx/base/argocd-cert-issuer.yaml b/argocd-nginx/base/argocd-cert-issuer.yaml index e5c2efb..018021a 100644 --- a/argocd-nginx/base/argocd-cert-issuer.yaml +++ b/argocd-nginx/base/argocd-cert-issuer.yaml @@ -16,4 +16,5 @@ spec: - http01: ingress: name: argocd-ingress + serviceType: ClusterIP diff --git a/argocd-nginx/base/argocd-ingress.yaml b/argocd-nginx/base/argocd-ingress.yaml index 108f76e..b26e885 100644 --- a/argocd-nginx/base/argocd-ingress.yaml +++ b/argocd-nginx/base/argocd-ingress.yaml @@ -6,8 +6,7 @@ metadata: annotations: cert-manager.io/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" + acme.cert-manager.io/http01-edit-in-place: "true" spec: defaultBackend: service: @@ -23,9 +22,10 @@ spec: - host: argocd-test.streams.sunet.se http: paths: - - path: /.well-known/acme-challenge + - path: / + pathType: Prefix backend: service: - label: acme.cert-manager.io/http01-solver + name: argocd-server port: - number: 8089 + number: 80