[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:44:32 +01:00
parent 4dfbd4de76
commit f34938958f

View File

@ -6,14 +6,12 @@ type: 'kubernetes'
steps: steps:
# deploy to kubernetes # deploy to kubernetes
- image: 'docker.io/bitnami/kubectl:1.26.3' - image: 'docker.io/bitnami/kubectl'
name: 'deploy' name: 'deploy'
pull: 'always' pull: 'always'
environment:
DRONE_KUBECONFIG:
from_secret: 'drone_kube_config'
commands: commands:
- echo $DRONE_KUBECONFIG > $HOME/.kube/config - echo $GITEA_KUBE_CONFIG > $HOME/.kube/config
- cat $HOME/.kube/config - cat $HOME/.kube/config
- env
- kubectl -n start-simoncor-net rollout restart deployment start-simoncor-net - kubectl -n start-simoncor-net rollout restart deployment start-simoncor-net