feat(argocd-apps): Support Template Patch to ApplicationSet (#2549)

Signed-off-by: yu-croco <yu.croco@gmail.com>
Co-authored-by: Petr Drastil <petr.drastil@gmail.com>
This commit is contained in:
Aikawa 2024-02-25 22:11:42 +09:00 committed by GitHub
parent 7c8fab5a7f
commit fa85e824f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 34 additions and 3 deletions

View file

@ -46,6 +46,19 @@ applicationsets:
syncPolicy:
# Set Application finalizer
preserveResourcesOnDeletion: false
templatePatch: |
spec:
source:
helm:
valueFiles:
{{- range $valueFile := .valueFiles }}
- {{ $valueFile }}
{{- end }}
{{- if .autoSync }}
syncPolicy:
automated:
prune: {{ .prune }}
{{- end }}
- name: applicationset-list-generator
generators:
- list: