Skip to content

Commit 163d15b

Browse files
mitchrossclaude
andcommitted
fix(argocd): use jqPathExpressions for PVC ignoreDifferences
Switch from jsonPointers to jqPathExpressions for better handling of nested spec fields in PersistentVolumeClaims. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 03f5e05 commit 163d15b

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

infrastructure/controllers/argocd/apps/infrastructure-appset.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ spec:
8686
# PVC fields that are immutable after creation - needed for Volume Populator
8787
- group: ""
8888
kind: PersistentVolumeClaim
89-
jsonPointers:
90-
- /spec/dataSourceRef
91-
- /spec/dataSource
92-
- /spec/volumeName
89+
jqPathExpressions:
90+
- .spec.dataSourceRef
91+
- .spec.dataSource
92+
- .spec.volumeName

infrastructure/controllers/argocd/apps/my-apps-appset.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ spec:
5959
# PVC fields that are immutable after creation - needed for Volume Populator
6060
- group: ""
6161
kind: PersistentVolumeClaim
62-
jsonPointers:
63-
- /spec/dataSourceRef
64-
- /spec/dataSource
65-
- /spec/volumeName
62+
jqPathExpressions:
63+
- .spec.dataSourceRef
64+
- .spec.dataSource
65+
- .spec.volumeName
6666

6767
info:
6868
- name: 'Description'

0 commit comments

Comments
 (0)