This commit is contained in:
parent
7c74a1dc7d
commit
1007125016
20
.drone.yml
20
.drone.yml
@ -32,14 +32,14 @@ steps:
|
|||||||
- 'latest'
|
- 'latest'
|
||||||
|
|
||||||
|
|
||||||
# deploy to kubernetes
|
# deploy to kubernetes
|
||||||
- image: 'bitnami/kubectl'
|
- image: 'docker.io/bitnami/kubectl'
|
||||||
name: 'deploy'
|
name: 'deploy'
|
||||||
pull: 'always'
|
pull: 'always'
|
||||||
environment:
|
environment:
|
||||||
KUBE_CONFIG:
|
KUBE_CONFIG:
|
||||||
from_secret: 'kube_config'
|
from_secret: 'kube_config'
|
||||||
|
|
||||||
commands:
|
commands:
|
||||||
- 'echo $KUBE_CONFIG >> $HOME/.kube/config'
|
- 'echo $KUBE_CONFIG >> $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