mirror of
https://github.com/honestbee/drone-kubernetes.git
synced 2025-05-13 08:23:19 +00:00
Fix shell syntax
This commit is contained in:
parent
3042727362
commit
d852c78c04
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue