From 775413ef907d79eb976a5706bfb53d6add396153 Mon Sep 17 00:00:00 2001 From: Vojtech Mares Date: Sat, 11 May 2024 13:37:36 +0200 Subject: [PATCH] feat: add argo-cd app --- apps/argo/argo-cd.yaml | 48 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 apps/argo/argo-cd.yaml diff --git a/apps/argo/argo-cd.yaml b/apps/argo/argo-cd.yaml new file mode 100644 index 0000000..5f0d3c2 --- /dev/null +++ b/apps/argo/argo-cd.yaml @@ -0,0 +1,48 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: argo-cd + namespace: argocd + annotations: + argocd.argoproj.io/sync-wave: "1" + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: argo + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true + source: + chart: argo-cd + repoURL: https://argoproj.github.io/argo-helm + targetRevision: 6.8.1 + helm: + releaseName: argocd + valuesObject: + global: + domain: argocd.cthulhu.k8s.vxm.cz + + server: + ingress: + enabled: true + ingressClassName: nginx + annotations: + # cert-manager.io/cluster-issuer: letsencrypt-production + nginx.ingress.kubernetes.io/force-ssl-redirect: "true" + nginx.ingress.kubernetes.io/ssl-passthrough: "true" + nginx.ingress.kubernetes.io/backend-protocol: "HTTPS" + tls: true + + certificate: + enabled: true + issuer: + group: "cert-manager.io" + kind: "ClusterIssuer" + name: "letsencrypt-production" + + destination: + server: "https://kubernetes.default.svc" + namespace: argocd