1
0
Fork 0

feat: add argo-cd app

This commit is contained in:
Vojtěch Mareš 2024-05-11 13:37:36 +02:00
parent 9d4d9d1977
commit 775413ef90
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D

48
apps/argo/argo-cd.yaml Normal file
View file

@ -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