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>pull/2550/head argocd-apps-1.6.2
parent
7c8fab5a7f
commit
fa85e824f0
|
@ -2,7 +2,7 @@ apiVersion: v2
|
|||
name: argocd-apps
|
||||
description: A Helm chart for managing additional Argo CD Applications and Projects
|
||||
type: application
|
||||
version: 1.6.1
|
||||
version: 1.6.2
|
||||
home: https://github.com/argoproj/argo-helm
|
||||
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
||||
keywords:
|
||||
|
@ -17,5 +17,5 @@ annotations:
|
|||
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
|
||||
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
||||
artifacthub.io/changes: |
|
||||
- kind: fixed
|
||||
description: move ignoreApplicationDifferences block up a level to fix render
|
||||
- kind: added
|
||||
description: Support Template Patch to ApplicationSet
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -84,4 +84,8 @@ spec:
|
|||
{{- end }}
|
||||
{{- end -}}
|
||||
{{- end }}
|
||||
{{- with .templatePatch }}
|
||||
templatePatch: |
|
||||
{{- . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
|
|
@ -157,6 +157,20 @@ applicationsets: []
|
|||
# syncPolicy:
|
||||
# # Set Application finalizer
|
||||
# preserveResourcesOnDeletion: false
|
||||
# # Templating is only available on string type
|
||||
# templatePatch: |
|
||||
# spec:
|
||||
# source:
|
||||
# helm:
|
||||
# valueFiles:
|
||||
# {{- range $valueFile := .valueFiles }}
|
||||
# - {{ $valueFile }}
|
||||
# {{- end }}
|
||||
# {{- if .autoSync }}
|
||||
# syncPolicy:
|
||||
# automated:
|
||||
# prune: {{ .prune }}
|
||||
# {{- end }}
|
||||
|
||||
# -- Deploy Argo CD Applications/ApplicationSets/Projects within this helm release
|
||||
# @default -- `[]` (See [values.yaml])
|
||||
|
|
Loading…
Reference in New Issue