From bc5c997b613233e4d7f176d1f4ff9426b76a4411 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Sat, 12 Jul 2025 22:45:50 +0200 Subject: [PATCH] Cleanup cert-manager resources --- apps/argocd.yaml | 1 + apps/cert-manager.yaml | 23 +++++++++++++++++++++-- apps/misc.yaml | 2 -- apps/misc/cluster-issuer.yaml | 15 --------------- apps/misc/kustomization.yaml | 1 - 5 files changed, 22 insertions(+), 20 deletions(-) delete mode 100644 apps/misc/cluster-issuer.yaml diff --git a/apps/argocd.yaml b/apps/argocd.yaml index 6c370bf..25dbcf6 100644 --- a/apps/argocd.yaml +++ b/apps/argocd.yaml @@ -11,6 +11,7 @@ spec: syncPolicy: automated: prune: true + selfHeal: true source: repoURL: https://github.com/argoproj/argo-helm targetRevision: argo-cd-8.1.2 diff --git a/apps/cert-manager.yaml b/apps/cert-manager.yaml index f600ffa..9b3e7da 100644 --- a/apps/cert-manager.yaml +++ b/apps/cert-manager.yaml @@ -1,3 +1,8 @@ +kind: Namespace +apiVersion: v1 +metadata: + name: cert-manager +--- apiVersion: argoproj.io/v1alpha1 kind: Application metadata: @@ -12,8 +17,6 @@ spec: automated: prune: true selfHeal: true - syncOptions: - - CreateNamespace=true source: repoURL: https://charts.jetstack.io chart: cert-manager @@ -22,3 +25,19 @@ spec: values: | crds: enabled: true +--- +apiVersion: cert-manager.io/v1 +kind: ClusterIssuer +metadata: + name: letsencrypt +spec: + acme: + email: zoe.roux@zoriya.dev + profile: tlsserver + server: https://acme-v02.api.letsencrypt.org/directory + privateKeySecretRef: + name: lets-encrypt-pk + solvers: + - http01: + ingress: + ingressClassName: cilium diff --git a/apps/misc.yaml b/apps/misc.yaml index 003dc1d..50d1577 100644 --- a/apps/misc.yaml +++ b/apps/misc.yaml @@ -12,8 +12,6 @@ spec: automated: prune: true selfHeal: false - syncOptions: - - CreateNamespace=true source: repoURL: https://github.com/zoriya/snow targetRevision: HEAD diff --git a/apps/misc/cluster-issuer.yaml b/apps/misc/cluster-issuer.yaml deleted file mode 100644 index 1f407aa..0000000 --- a/apps/misc/cluster-issuer.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: cert-manager.io/v1 -kind: ClusterIssuer -metadata: - name: letsencrypt -spec: - acme: - email: zoe.roux@zoriya.dev - profile: tlsserver - server: https://acme-v02.api.letsencrypt.org/directory - privateKeySecretRef: - name: lets-encrypt-pk - solvers: - - http01: - ingress: - ingressClassName: cilium diff --git a/apps/misc/kustomization.yaml b/apps/misc/kustomization.yaml index a93dbb8..a618a33 100644 --- a/apps/misc/kustomization.yaml +++ b/apps/misc/kustomization.yaml @@ -2,6 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - - cluster-issuer.yaml - cilium-announcement.yaml - ip-pool.yaml