From 981656e27fae70f02991fcb9958743e1519c3e52 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Tue, 15 Oct 2024 14:45:20 +0200 Subject: [PATCH] Use cluster-issuer --- argocd-nginx/base/kustomization.yaml | 1 - argocd-nginx/overlays/test/argocd-ingress.yaml | 2 +- {argocd-nginx => cert-manager}/base/cert-manager-issuer.yml | 2 +- cert-manager/base/kustomization.yaml | 1 + 4 files changed, 3 insertions(+), 3 deletions(-) rename {argocd-nginx => cert-manager}/base/cert-manager-issuer.yml (96%) diff --git a/argocd-nginx/base/kustomization.yaml b/argocd-nginx/base/kustomization.yaml index 6210811..6802995 100644 --- a/argocd-nginx/base/kustomization.yaml +++ b/argocd-nginx/base/kustomization.yaml @@ -1,3 +1,2 @@ resources: - argocd-ingress.yaml - - cert-manager-issuer.yml diff --git a/argocd-nginx/overlays/test/argocd-ingress.yaml b/argocd-nginx/overlays/test/argocd-ingress.yaml index b766fcc..633b535 100644 --- a/argocd-nginx/overlays/test/argocd-ingress.yaml +++ b/argocd-nginx/overlays/test/argocd-ingress.yaml @@ -4,7 +4,7 @@ metadata: name: argocd-ingress namespace: argocd annotations: - cert-manager.io/issuer: "letsencrypt" + cert-manager.io/cluster-issuer: "letsencrypt" spec: defaultBackend: service: diff --git a/argocd-nginx/base/cert-manager-issuer.yml b/cert-manager/base/cert-manager-issuer.yml similarity index 96% rename from argocd-nginx/base/cert-manager-issuer.yml rename to cert-manager/base/cert-manager-issuer.yml index 57385ae..4b999fb 100644 --- a/argocd-nginx/base/cert-manager-issuer.yml +++ b/cert-manager/base/cert-manager-issuer.yml @@ -1,5 +1,5 @@ apiVersion: cert-manager.io/v1 -kind: Issuer +kind: ClusterIssuer metadata: name: letsencrypt spec: diff --git a/cert-manager/base/kustomization.yaml b/cert-manager/base/kustomization.yaml index ee014cc..0fccc00 100644 --- a/cert-manager/base/kustomization.yaml +++ b/cert-manager/base/kustomization.yaml @@ -4,3 +4,4 @@ kind: Kustomization namespace: cert-manager resources: - https://github.com/cert-manager/cert-manager/releases/download/v1.16.1/cert-manager.yaml +- cert-manager-issuer.yml