feat: add git revision annotation to force pod restart on updates

This commit is contained in:
Unchained
2026-03-07 10:57:58 +02:00
parent 81580de2a5
commit 5ce35817a1

View File

@@ -18,6 +18,10 @@ spec:
metadata: metadata:
labels: labels:
app: storefront app: storefront
annotations:
# Flux will substitute this with the actual git revision
# Changing this annotation forces pod restart on git updates
gitRevision: ${GIT_REVISION:-unknown}
spec: spec:
initContainers: initContainers:
- name: clone - name: clone