Merge "[COMMON] Add a checkbashisms tox profile"
[oom.git] / kubernetes / aai / components / aai-sparky-be / templates / deployment.yaml
index 51d577b..45ff270 100644 (file)
@@ -47,6 +47,11 @@ spec:
           echo "*** retrieve Truststore and Keystore password"
           export $(cat {{ .Values.certInitializer.credsPath }}/mycreds.prop \
             | xargs -0)
+          if [ -z "$KEYSTORE_PASSWORD" ]
+          then
+            echo " /!\ certificates retrieval failed"
+            exit 1
+          fi
           echo "*** write them in portal part"
           cd /config-input
           for PFILE in `ls -1 .`