feat(argocd-apps): support ignoreApplicationDifferences for appsets (#2442)
* feat(argocd-apps): support ignoreApplicationDifferences Signed-off-by: imranismail <hey@imranismail.dev> * chore: bump version Signed-off-by: Imran Ismail <hey@imranismail.dev> --------- Signed-off-by: imranismail <hey@imranismail.dev> Signed-off-by: Imran Ismail <hey@imranismail.dev> Co-authored-by: Aikawa <yu.croco@gmail.com>
This commit is contained in:
parent
47102d9768
commit
3b7a005ce3
4 changed files with 15 additions and 3 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: 1.5.0
|
||||
version: 1.6.0
|
||||
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: deprecated
|
||||
description: Add deprecated note for Argo CD Extensions
|
||||
- kind: added
|
||||
description: ability to specify ignoreApplicationDifferences for applicationsets
|
||||
|
|
|
@ -13,6 +13,10 @@ applicationsets:
|
|||
directories:
|
||||
- path: guestbook
|
||||
- path: kustomize-*
|
||||
# Ref https://argo-cd.readthedocs.io/en/stable/operator-manual/applicationset/Controlling-Resource-Modification/#allow-temporarily-toggling-auto-sync
|
||||
ignoreApplicationDifferences:
|
||||
- jsonPointers:
|
||||
- /spec/syncPolicy
|
||||
template:
|
||||
metadata:
|
||||
name: '{{path.basename}}'
|
||||
|
|
|
@ -27,6 +27,10 @@ spec:
|
|||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- with .strategy }}
|
||||
{{- with .ignoreApplicationDifferences }}
|
||||
ignoreApplicationDifferences:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
strategy:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
|
|
|
@ -106,6 +106,10 @@ applicationsets: []
|
|||
# directories:
|
||||
# - path: guestbook
|
||||
# - path: kustomize-*
|
||||
# # Ref https://argo-cd.readthedocs.io/en/stable/operator-manual/applicationset/Controlling-Resource-Modification/#allow-temporarily-toggling-auto-sync
|
||||
# ignoreApplicationDifferences:
|
||||
# - jsonPointers:
|
||||
# - /spec/syncPolicy
|
||||
# # Progressive Syncs is an experimental feature and it must be explicitly enabled
|
||||
# # Ref: https://argo-cd.readthedocs.io/en/stable/operator-manual/applicationset/Progressive-Syncs/#enabling-progressive-syncs
|
||||
# strategy:
|
||||
|
|
Loading…
Reference in a new issue