[CI] Specify kubectl version
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Simon Cornet 2023-03-23 11:29:36 +01:00
parent 824804c947
commit 4dfbd4de76

View File

@ -10,10 +10,10 @@ steps:
name: 'deploy' name: 'deploy'
pull: 'always' pull: 'always'
environment: environment:
KUBE_CONFIG: DRONE_KUBECONFIG:
from_secret: 'drone_kube_config' from_secret: 'drone_kube_config'
commands: commands:
- echo $KUBE_CONFIG > $HOME/.kube/config - echo $DRONE_KUBECONFIG > $HOME/.kube/config
- cat $HOME/.kube/config - cat $HOME/.kube/config
- kubectl -n start-simoncor-net rollout restart deployment start-simoncor-net - kubectl -n start-simoncor-net rollout restart deployment start-simoncor-net