Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3b7a005

Browse files
feat(argocd-apps): support ignoreApplicationDifferences for appsets (#2442)
* feat(argocd-apps): support ignoreApplicationDifferences Signed-off-by: imranismail <[email protected]> * chore: bump version Signed-off-by: Imran Ismail <[email protected]> --------- Signed-off-by: imranismail <[email protected]> Signed-off-by: Imran Ismail <[email protected]> Co-authored-by: Aikawa <[email protected]>
1 parent 47102d9 commit 3b7a005

4 files changed

Lines changed: 15 additions & 3 deletions

File tree

charts/argocd-apps/Chart.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: argocd-apps
33
description: A Helm chart for managing additional Argo CD Applications and Projects
44
type: application
5-
version: 1.5.0
5+
version: 1.6.0
66
home: https://github.com/argoproj/argo-helm
77
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
88
keywords:
@@ -17,5 +17,5 @@ annotations:
1717
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
1818
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
1919
artifacthub.io/changes: |
20-
- kind: deprecated
21-
description: Add deprecated note for Argo CD Extensions
20+
- kind: added
21+
description: ability to specify ignoreApplicationDifferences for applicationsets

charts/argocd-apps/ci/applicationsets-values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ applicationsets:
1313
directories:
1414
- path: guestbook
1515
- path: kustomize-*
16+
# Ref https://argo-cd.readthedocs.io/en/stable/operator-manual/applicationset/Controlling-Resource-Modification/#allow-temporarily-toggling-auto-sync
17+
ignoreApplicationDifferences:
18+
- jsonPointers:
19+
- /spec/syncPolicy
1620
template:
1721
metadata:
1822
name: '{{path.basename}}'

charts/argocd-apps/templates/applicationsets.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ spec:
2727
{{- toYaml . | nindent 4 }}
2828
{{- end }}
2929
{{- with .strategy }}
30+
{{- with .ignoreApplicationDifferences }}
31+
ignoreApplicationDifferences:
32+
{{- toYaml . | nindent 4 }}
33+
{{- end }}
3034
strategy:
3135
{{- toYaml . | nindent 4 }}
3236
{{- end }}

charts/argocd-apps/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ applicationsets: []
106106
# directories:
107107
# - path: guestbook
108108
# - path: kustomize-*
109+
# # Ref https://argo-cd.readthedocs.io/en/stable/operator-manual/applicationset/Controlling-Resource-Modification/#allow-temporarily-toggling-auto-sync
110+
# ignoreApplicationDifferences:
111+
# - jsonPointers:
112+
# - /spec/syncPolicy
109113
# # Progressive Syncs is an experimental feature and it must be explicitly enabled
110114
# # Ref: https://argo-cd.readthedocs.io/en/stable/operator-manual/applicationset/Progressive-Syncs/#enabling-progressive-syncs
111115
# strategy:

0 commit comments

Comments
 (0)