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:
parent
7c8fab5a7f
commit
fa85e824f0
4 changed files with 34 additions and 3 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue