use kubectl, fix 4
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
2023-11-17 15:58:10 +01:00
parent 150c498bfc
commit f6b0061f10

View File

@ -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