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