trying kubecontext

This commit is contained in:
Bojan Kucera 2025-06-06 08:49:45 -04:00
parent 6cf8a35bdf
commit e11f974148

View file

@ -35,9 +35,9 @@ deploy:
image: image:
name: bitnami/kubectl:latest name: bitnami/kubectl:latest
entrypoint: [''] entrypoint: ['']
variables:
KUBE_CONTEXT: stare/infra:ovh-cluster
script: script:
- kubectl config get-contexts
- kubectl config use-context stare/infra:ovh-cluster
- kubectl get pods - kubectl get pods
- kubectl rollout restart deployment/proxy-detection-api - kubectl rollout restart deployment/proxy-detection-api
- kubectl rollout status deployment/proxy-detection-api --timeout=300s - kubectl rollout status deployment/proxy-detection-api --timeout=300s