Commit 74947b41 authored by Nane Kratzke's avatar Nane Kratzke
Browse files

correct istio injection labeling

parent f757e550
......@@ -20,7 +20,7 @@ istio:
when: manual
script:
- NS=$(kubectl config view --minify --output 'jsonpath={..namespace}')
- kubectl label ns $NS istio-inject=enabled --overwrite
- kubectl label ns $NS istio-injection=enabled --overwrite
- VHOST=yelb.$NS.$CLUSTER mo deploy/yelb.yaml | kubectl delete -f -
- sleep 5
- VHOST=yelb.$NS.$CLUSTER mo deploy/yelb.yaml | kubectl apply -f -
......@@ -31,5 +31,5 @@ shutdown:
when: manual
script:
- NS=$(kubectl config view --minify --output 'jsonpath={..namespace}')
- kubectl label ns $NS istio-inject=disabled --overwrite
- kubectl label ns $NS istio-injection=disabled --overwrite
- VHOST=yelb.$NS.$CLUSTER mo deploy/yelb.yaml | kubectl delete -f -
Supports Markdown
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