mirror of
https://github.com/honestbee/drone-kubernetes.git
synced 2025-05-15 20:53:18 +00:00
write kubectl in a directory not in /root
This commit is contained in:
parent
a5776c44e9
commit
b11aafd170
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue