1
0
Fork 0
k8s-cluster-aegir/apps-root-config/bootstrap/templates/argo-application.yaml
2025-01-11 20:58:54 +00:00

24 lines
590 B
YAML

{{- range .Values.bootstrap -}}
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: {{ .name }}-apps
namespace: {{ default "argocd-system" $.Values.argocdNamespace }}
spec:
destination:
namespace: {{ default "argocd-system" $.Values.argocdNamespace }}
server: https://kubernetes.default.svc
project: default
source:
helm:
valueFiles:
- "{{ .name }}.yaml"
path: apps-root-config/applications
repoURL: {{ $.Values.repository }}
targetRevision: HEAD
syncPolicy:
automated:
prune: true
selfHeal: true
{{ end }}