[CI] Specify kubectl version
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Simon Cornet 2023-03-23 11:23:05 +01:00
parent a530d7e2d5
commit 81e8486391

View File

@ -9,9 +9,10 @@ steps:
- image: 'docker.io/bitnami/kubectl:1.26.3' - image: 'docker.io/bitnami/kubectl:1.26.3'
name: 'deploy' name: 'deploy'
pull: 'always' pull: 'always'
secrets: [ kube_config ] environment:
- KUBE_CONFIG: ${KUBE_CONFIG}
commands: commands:
- echo $${KUBE_CONFIG} > $HOME/.kube/config - echo $KUBE_CONFIG > $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