Skip to content

Commit

Permalink
feat: revert back to original system
Browse files Browse the repository at this point in the history
  • Loading branch information
tale committed Jun 27, 2022
1 parent 50d0813 commit fe5edd2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions login-kubectl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@ if [ ! -d "$HOME/.kube" ]; then
mkdir -p $HOME/.kube
fi

printf "$BASE64_KUBE_CONFIG"
printf "$BASE64_KUBE_CONFIG" > $HOME/.kube/config.b64
cat $HOME/.kube/config.b64 | base64 -d > $HOME/.kube/config
echo "$BASE64_KUBE_CONFIG" | base64 -d > $HOME/.kube/config

0 comments on commit fe5edd2

Please sign in to comment.