write kubectl in a directory not in /root

This commit is contained in:
Myers Carpenter 2019-01-08 09:37:44 -05:00
parent a5776c44e9
commit b11aafd170
1 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,9 @@
#!/bin/bash #!/bin/bash
set -e
export KUBECONFIG=/tmp/kubeconfig
if [ -z ${PLUGIN_NAMESPACE} ]; then if [ -z ${PLUGIN_NAMESPACE} ]; then
PLUGIN_NAMESPACE="default" PLUGIN_NAMESPACE="default"
fi fi