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:
labels:
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:
initContainers:
- name: clone