From 2402ee67e6d8a20b3a715917568428c0c84584b5 Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Wed, 21 Jan 2026 20:17:00 -0800 Subject: [PATCH] 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 --- argocd/apps/kiwix.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/argocd/apps/kiwix.yaml b/argocd/apps/kiwix.yaml index d69da7c..70be2c1 100644 --- a/argocd/apps/kiwix.yaml +++ b/argocd/apps/kiwix.yaml @@ -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