소스 검색

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