From 49d0fc411abcceab6f0575420c9afb3e977fab48 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Wed, 16 Oct 2024 14:19:48 +0200 Subject: [PATCH] trial and error --- argocd-nginx/base/argocd-cert-issuer.yaml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/argocd-nginx/base/argocd-cert-issuer.yaml b/argocd-nginx/base/argocd-cert-issuer.yaml index 8605828..81b81f9 100644 --- a/argocd-nginx/base/argocd-cert-issuer.yaml +++ b/argocd-nginx/base/argocd-cert-issuer.yaml @@ -1,13 +1,10 @@ apiVersion: cert-manager.io/v1 kind: Issuer metadata: - name: lets-encrypt - namespace: kube-system + name: "lets-encrypt" + namespace: argocd spec: acme: - # You must replace this email address with your own. - # Let's Encrypt will use this to contact you about expiring - # certificates, and issues related to your account. email: drive@sunet.se server: https://acme-v02.api.letsencrypt.org/directory privateKeySecretRef: @@ -15,6 +12,7 @@ spec: name: argocd-letsencrypt-account-key # Add a single challenge solver, HTTP01 using nginx solvers: - - http01: - ingress: - IngressClassName: nginx + - selector: {} + http01: + ingress: + class: public