Fix shell syntax

This commit is contained in:
Charles Martinot 2017-02-08 10:25:02 +08:00
parent 3042727362
commit d852c78c04
1 changed files with 2 additions and 2 deletions

View File

@ -5,11 +5,11 @@ if [ -z ${PLUGIN_NAMESPACE} ]; then
fi
if [ -z PLUGIN_KUBERNETES_TOKEN ]; then
PLUGIN_KUBERNETES_TOKEN = $KUBERNETES_TOKEN
PLUGIN_KUBERNETES_TOKEN=$KUBERNETES_TOKEN
fi
if [ -z PLUGIN_KUBERNETES_SERVER ]; then
PLUGIN_KUBERNETES_SERVER = $KUBERNETES_SERVER
PLUGIN_KUBERNETES_SERVER=$KUBERNETES_SERVER
fi
kubectl config set-credentials default --token=${PLUGIN_KUBERNETES_TOKEN}