Pārlūkot izejas kodu

HUE-9450 [k8s] Add checksum of both ini configs

Romain 5 gadi atpakaļ
vecāks
revīzija
0ee86e9203

+ 1 - 0
tools/ci/check_for_python_lint.sh

@@ -30,6 +30,7 @@ then
   FOUND_ISSUE=$?
 else
   echo "No Python code files changed present"
+  FOUND_ISSUE=0
 fi
 
 if [ "$FOUND_ISSUE" -eq "0" ]

+ 1 - 0
tools/docker/hue/Dockerfile

@@ -65,6 +65,7 @@ RUN ./build/env/bin/pip install \
   flower \
   pyhive \
   gevent \
+  gssapi \
   # Needed for Jaeger
   threadloop \
   thrift-sasl==0.2.1

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

@@ -18,7 +18,8 @@ spec:
       labels:
         pod: hue
       annotations:
-        checksum/config: {{ include (print $.Template.BasePath "/configmap-hue-extra.yaml") . | sha256sum }}
+        checksum/config: {{ include (print $.Template.BasePath "/configmap-hue.yaml") . | sha256sum }}
+        checksum/config-extra: {{ include (print $.Template.BasePath "/configmap-hue-extra.yaml") . | sha256sum }}
 {{- with .Values.podAnnotations }}
 {{ toYaml . | indent 8 }}
 {{- end }}