From 8c6039bebf5568740c31c3761a31da6856dfbc45 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Wed, 16 Oct 2024 13:26:28 +0200 Subject: [PATCH] trial and error --- argocd-nginx/base/argocd-ingress.yaml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/argocd-nginx/base/argocd-ingress.yaml b/argocd-nginx/base/argocd-ingress.yaml index 63e50ff..56a38f4 100644 --- a/argocd-nginx/base/argocd-ingress.yaml +++ b/argocd-nginx/base/argocd-ingress.yaml @@ -5,14 +5,22 @@ 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: + name: argocd-server + port: + number: 80 ingressClassName: nginx tls: - hosts: - - argocd.streams.sunet.se + - argocd-test.streams.sunet.se secretName: tls-secret rules: - - host: argocd.streams.sunet.se + - host: argocd-test.streams.sunet.se http: paths: - path: / @@ -21,4 +29,4 @@ spec: service: name: argocd-server port: - name: https + number: 80