feat: add git revision annotation to force pod restart on updates
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user