use kubectl, fix 1

This commit is contained in:
2023-11-17 15:44:36 +01:00
parent a7c087b489
commit e441e3c932

View File

@ -14,10 +14,10 @@ steps:
deploy:
image: portainer/kubectl-shell:latest
secrets:
- source: kube-config
- source: kube_config
target: KUBE_CONFIG_CONTENT
commands:
- printf "$KUBE_CONFIG_CONTENT" > ~/kube-config
- KUBECONFIG=~/kube-config
- printf "$KUBE_CONFIG_CONTENT" > ~/kubeconfig
- KUBECONFIG=~/kubeconfig
- kubectl get nodes