diff --git a/k8s/deployment-nodejs.yaml b/k8s/deployment-nodejs.yaml index 4af88ca..ba818f6 100644 --- a/k8s/deployment-nodejs.yaml +++ b/k8s/deployment-nodejs.yaml @@ -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