use kubectl, fix 4
This commit is contained in:
@ -20,7 +20,7 @@ steps:
|
|||||||
target: KUBE_CONFIG_CONTENT
|
target: KUBE_CONFIG_CONTENT
|
||||||
commands:
|
commands:
|
||||||
- printf "$KUBE_CONFIG_CONTENT" > /tmp/kubeconfig
|
- printf "$KUBE_CONFIG_CONTENT" > /tmp/kubeconfig
|
||||||
- KUBECONFIG=/tmp/kubeconfig
|
- export KUBECONFIG=/tmp/kubeconfig
|
||||||
- kubectl get nodes
|
- kubectl get nodes
|
||||||
when:
|
when:
|
||||||
- event: tag
|
- event: tag
|
||||||
|
Reference in New Issue
Block a user