Commit 02ad39a5 authored by Nane Kratzke's avatar Nane Kratzke
Browse files

istio-injection enabled

parent f3deb2ea
......@@ -39,6 +39,8 @@ hiphop:
image: $KUBECTL
script:
- kubectl apply -f deploy/tracing.yaml
- NS=$(kubectl config view -o jsonpath="{..namespace}")
- kubectl label ns $NS istio-injection=enabled
- TIER=1 mo deploy/hiphop-deploy+svc.yaml | kubectl delete -f - || true
- TIER=2 mo deploy/hiphop-deploy+svc.yaml | kubectl delete -f - || true
- TIER=3 mo deploy/hiphop-deploy+svc.yaml | kubectl delete -f - || true
......@@ -53,8 +55,11 @@ shutdown:
image: $KUBECTL
when: manual
script:
- NS=$(kubectl config view -o jsonpath="{..namespace}")
- TIER=1 mo deploy/hiphop-deploy+svc.yaml | kubectl delete -f -
- TIER=2 mo deploy/hiphop-deploy+svc.yaml | kubectl delete -f -
- TIER=3 mo deploy/hiphop-deploy+svc.yaml | kubectl delete -f -
- TIER=4 mo deploy/hiphop-deploy+svc.yaml | kubectl delete -f -
- kubectl delete -f deploy/tracing.yaml
- kubectl label ns $NS istio-injection=disabled
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