feat: add gitRevision annotation for auto-restart on git changes

This commit is contained in:
Unchained
2026-03-07 11:06:15 +02:00
parent c1038245e8
commit 467b513b67
2 changed files with 3 additions and 10 deletions

View File

@@ -18,6 +18,9 @@ spec:
metadata:
labels:
app: storefront
annotations:
# Git revision annotation - changes with each commit to force pod restart
gitRevision: ${GIT_REVISION}
spec:
initContainers:
- name: clone