diff --git a/entrypoint.sh b/entrypoint.sh index b03edcc..6e02a78 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -4,8 +4,9 @@ set -e echo ${KUBE_CONFIG_DATA} | base64 -d > kubeconfig export KUBECONFIG="${PWD}/kubeconfig" +chmod 600 ${PWD}/kubeconfig -if [-z $INPUT_PLUGINS] +if [[ -n "${INPUT_PLUGINS// /}" ]] then plugins=$(echo $INPUT_PLUGINS | tr ",")