Explorar o código

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

Romain %!s(int64=6) %!d(string=hai) anos
pai
achega
f54990e64e
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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