瀏覽代碼

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

Romain 6 年之前
父節點
當前提交
f54990e64e
共有 1 個文件被更改,包括 2 次插入0 次删除
  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