[CI] Specify kubectl version
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
a530d7e2d5
commit
81e8486391
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user