[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:28:25 +01:00
parent 4db61f63fb
commit 824804c947

View File

@ -9,6 +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'
environment:
KUBE_CONFIG:
from_secret: 'drone_kube_config'
commands: commands:
- echo $KUBE_CONFIG > $HOME/.kube/config - echo $KUBE_CONFIG > $HOME/.kube/config
- cat $HOME/.kube/config - cat $HOME/.kube/config