Browse Source

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

Romain 6 năm trước cách đây
mục cha
commit
f54990e64e
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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