Configure ArgoCD to ignore kiwix zim-hash annotation
The zim-watcher CronJob updates the kiwix.blumeops/zim-hash annotation on the deployment to trigger restarts when ZIM files change. This causes ArgoCD to show the app as OutOfSync since the live value differs from git. Add ignoreDifferences to the kiwix Application to exclude this annotation from sync status calculations. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
6a613f8369
commit
2402ee67e6
1 changed files with 6 additions and 0 deletions
|
|
@ -16,3 +16,9 @@ spec:
|
|||
syncPolicy:
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
# Ignore zim-hash annotation - updated dynamically by zim-watcher CronJob
|
||||
ignoreDifferences:
|
||||
- group: apps
|
||||
kind: Deployment
|
||||
jsonPointers:
|
||||
- /metadata/annotations/kiwix.blumeops~1zim-hash
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue