This commit is contained in:
parent
3472e8df6d
commit
ac743de18c
@ -2,9 +2,6 @@
|
|||||||
kind: 'pipeline'
|
kind: 'pipeline'
|
||||||
name: 'build'
|
name: 'build'
|
||||||
type: 'kubernetes'
|
type: 'kubernetes'
|
||||||
environment:
|
|
||||||
KUBE_CONFIG:
|
|
||||||
from_secret: 'drone_kube_config'
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
@ -12,6 +9,9 @@ steps:
|
|||||||
- image: 'docker.io/bitnami/kubectl'
|
- image: 'docker.io/bitnami/kubectl'
|
||||||
name: 'deploy'
|
name: 'deploy'
|
||||||
pull: 'always'
|
pull: 'always'
|
||||||
|
environment:
|
||||||
|
KUBE_CONFIG:
|
||||||
|
from_secret: 'drone_kube_config'
|
||||||
|
|
||||||
commands:
|
commands:
|
||||||
- 'echo $KUBE_CONFIG > $HOME/.kube/config.bin'
|
- 'echo $KUBE_CONFIG > $HOME/.kube/config.bin'
|
||||||
|
Loading…
Reference in New Issue
Block a user