Commit 9c468034 authored by Nane Kratzke's avatar Nane Kratzke
Browse files

VHOST fix

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