Fix shell syntax
This commit is contained in:
parent
3042727362
commit
d852c78c04
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue