trying kubecontext
This commit is contained in:
parent
6cf8a35bdf
commit
e11f974148
1 changed files with 2 additions and 2 deletions
|
|
@ -35,9 +35,9 @@ deploy:
|
|||
image:
|
||||
name: bitnami/kubectl:latest
|
||||
entrypoint: ['']
|
||||
variables:
|
||||
KUBE_CONTEXT: stare/infra:ovh-cluster
|
||||
script:
|
||||
- kubectl config get-contexts
|
||||
- kubectl config use-context stare/infra:ovh-cluster
|
||||
- kubectl get pods
|
||||
- kubectl rollout restart deployment/proxy-detection-api
|
||||
- kubectl rollout status deployment/proxy-detection-api --timeout=300s
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue