We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21fd826 commit 78c8d61Copy full SHA for 78c8d61
resources/entrypoint.sh
@@ -10,7 +10,7 @@ if [ -n "$CERTS_PASSWORD_FILE" ]; then
10
CREATE_CERTS_WITH_PW="$(cat $CERTS_PASSWORD_FILE)"
11
fi
12
13
-if [ -n $CREATE_CERTS_WITH_PW ]; then
+if [ -n "$CREATE_CERTS_WITH_PW" ]; then
14
if [ -z "$(ls -A $CERTS_DIR)" ]; then
15
16
echo "Create CA cert"
@@ -31,4 +31,7 @@ if [ -n $CREATE_CERTS_WITH_PW ]; then
31
32
echo "$CERTS_DIR is not empty. Not creating certs."
33
34
+
35
+else
36
+ echo "CREATE_CERTS_WITH_PW is not set. Not creating certs."
37
0 commit comments