mirror of
https://github.com/honestbee/drone-kubernetes.git
synced 2025-05-26 04:43:17 +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
|
||||
|
||||
set -e
|
||||
|
||||
export KUBECONFIG=/tmp/kubeconfig
|
||||
|
||||
if [ -z ${PLUGIN_NAMESPACE} ]; then
|
||||
PLUGIN_NAMESPACE="default"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue