feat(argocd-apps): finalizers for applicationset
Signed-off-by: Maneesh Singh <mann.biher@yahoo.co.in>
This commit is contained in:
parent
c38d299f01
commit
671f1a12ab
4 changed files with 12 additions and 1 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
|||
name: argocd-apps
|
||||
description: A Helm chart for managing additional Argo CD Applications and Projects
|
||||
type: application
|
||||
version: 2.0.1
|
||||
version: 2.0.2
|
||||
home: https://github.com/argoproj/argo-helm
|
||||
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
||||
keywords:
|
||||
|
@ -19,3 +19,6 @@ annotations:
|
|||
artifacthub.io/changes: |
|
||||
- kind: fixed
|
||||
description: not rendering empty app description
|
||||
artifacthub.io/changes: |
|
||||
- kind: added
|
||||
description: allow setting applicationset finalizers
|
||||
|
|
|
@ -4,6 +4,8 @@ applicationsets:
|
|||
applicationset:
|
||||
additionalLabels: {}
|
||||
additionalAnnotations: {}
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
# See PR #10026 (ArgoCD v2.5 or later)
|
||||
# goTemplate: false
|
||||
generators:
|
||||
|
|
|
@ -17,6 +17,10 @@ metadata:
|
|||
{{- with $appSetData.namespace }}
|
||||
namespace: {{ . }}
|
||||
{{- end }}
|
||||
{{- with $appSetData.finalizers }}
|
||||
finalizers:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if hasKey $appSetData "goTemplate" }}
|
||||
goTemplate: {{ $appSetData.goTemplate }}
|
||||
|
|
|
@ -97,6 +97,8 @@ applicationsets: {}
|
|||
# namespace: argocd
|
||||
# additionalLabels: {}
|
||||
# additionalAnnotations: {}
|
||||
# finalizers:
|
||||
# - resources-finalizer.argocd.argoproj.io
|
||||
# # See PR #10026 (ArgoCD v2.5 or later)
|
||||
# # goTemplate: false
|
||||
# generators:
|
||||
|
|
Loading…
Reference in a new issue