Browse Source

HUE-8888 [k8s] Add checksum of config for helm upgrade hue pod restart

Romain 6 years ago
parent
commit
f54990e64e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tools/kubernetes/helm/hue/templates/deployment-hue.yaml

+ 2 - 0
tools/kubernetes/helm/hue/templates/deployment-hue.yaml

@@ -17,6 +17,8 @@ spec:
     metadata:
       labels:
         pod: hue
+      annotations:
+        checksum/config: {{ include (print $.Template.BasePath "/configmap-hue-extra.yaml") . | sha256sum }}
     spec:
       containers:
       - name: hue