Skip to content

Commit

Permalink
Merge pull request #26 from koslib/security/kubeconfig-chmod
Browse files Browse the repository at this point in the history
Security/kubeconfig chmod
  • Loading branch information
Konstantinos Livieratos authored Jan 2, 2022
2 parents 92d5ff6 + 5113bf5 commit 42a5995
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ",")

Expand Down

0 comments on commit 42a5995

Please sign in to comment.