{{- range .Values.bootstrap -}} --- apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: {{ .name }}-apps namespace: {{ default "argocd" $.Values.argocdNamespace }} spec: destination: namespace: {{ default "argocd" $.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 }}