gf-k8s/state/gullfaxi/system/argo-cd/argo-cd-application.yaml
2023-09-03 09:12:34 +07:00

43 lines
1.2 KiB
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: argo-cd
namespace: argocd
spec:
destination:
server: https://kubernetes.default.svc
namespace: argocd
project: system
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
source:
repoURL: https://argoproj.github.io/argo-helm
chart: argo-cd
targetRevision: 5.45.0
helm:
releaseName: argocd
values: |
server:
# https://argo-cd.readthedocs.io/en/stable/operator-manual/ingress/#ssl-passthrough-with-cert-manager-and-lets-encrypt
ingress:
enabled: true
ingressClassName: nginx
annotations:
cert-manager.io/cluster-issuer: letsencrypt
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
hosts:
- argocd.ioot.xyz
tls:
- hosts:
- argocd.ioot.xyz
secretName: argocd-server-tls
configEnabled: true
config:
url: https://argocd.ioot.xyz
statusbadge.enabled: "true"