Commit 5ab6d665 authored by Nane Kratzke's avatar Nane Kratzke
Browse files

NS handling

parent 9d0d0065
......@@ -62,7 +62,7 @@ space-svc:
stage: deploy
when: manual
script:
- NS=$(kubectl config view -o jsonpath="{..namespace}")
- export NS=$(kubectl config view -o jsonpath="{..namespace}")
- kubectl label ns $NS istio-injection=disabled --overwrite
- mo deploy/space-deploy+svc.yaml | kubectl delete -f - || true
- mo deploy/space-deploy+svc.yaml | kubectl apply -f -
......@@ -71,7 +71,7 @@ hiphop-svc:
stage: deploy
when: manual
script:
- NS=$(kubectl config view -o jsonpath="{..namespace}")
- export NS=$(kubectl config view -o jsonpath="{..namespace}")
- kubectl label ns $NS istio-injection=disabled --overwrite
- TIER=1 mo deploy/hiphop-deploy+svc.yaml | kubectl delete -f - || true
- TIER=2 mo deploy/hiphop-deploy+svc.yaml | kubectl delete -f - || true
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment