From b11aafd1706923dc28e4cb80ff414f8a7c198fb9 Mon Sep 17 00:00:00 2001 From: Myers Carpenter Date: Tue, 8 Jan 2019 09:37:44 -0500 Subject: [PATCH] write kubectl in a directory not in /root --- update.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/update.sh b/update.sh index ae32dde..479aa14 100755 --- a/update.sh +++ b/update.sh @@ -1,5 +1,9 @@ #!/bin/bash +set -e + +export KUBECONFIG=/tmp/kubeconfig + if [ -z ${PLUGIN_NAMESPACE} ]; then PLUGIN_NAMESPACE="default" fi