1
0
Fork 0
k8s-cluster-aegir/apps-root-config/bootstrap/templates/argo-application.yaml

25 lines
576 B
YAML
Raw Normal View History

2025-01-11 20:58:54 +00:00
{{- range .Values.bootstrap -}}
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: {{ .name }}-apps
2025-01-11 22:11:40 +00:00
namespace: {{ default "argocd" $.Values.argocdNamespace }}
2025-01-11 20:58:54 +00:00
spec:
destination:
2025-01-11 22:11:40 +00:00
namespace: {{ default "argocd" $.Values.argocdNamespace }}
2025-01-11 20:58:54 +00:00
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 }}