Commit fa7230c1 authored by Nane Kratzke's avatar Nane Kratzke
Browse files

removed ingress

parent de982ea0
......@@ -12,17 +12,15 @@ yelb:
stage: deploy
image: $KUBECTL
script:
- NS=$(kubectl config view --minify --output 'jsonpath={..namespace}')
- VHOST=yelb.$NS.$CLUSTER mo deploy/yelb.yaml | kubectl apply -f -
- kubectl apply -f deploy/yelb.yaml
yelb-evolution:
stage: evolution
image: $KUBECTL
when: manual
script:
- NS=$(kubectl config view --minify --output 'jsonpath={..namespace}')
- mo deploy/yelb-evolution.yaml | kubectl apply -f -
- VHOST=yelb.$NS.$CLUSTER mo deploy/yelb-istio-config.yaml | kubectl apply -f -
- kubectl apply -f deploy/yelb-evolution.yaml
- kubectl apply -f deploy/yelb-istio-config.yaml
istio:
stage: inject
......@@ -31,9 +29,9 @@ istio:
script:
- NS=$(kubectl config view --minify --output 'jsonpath={..namespace}')
- kubectl label ns $NS istio-injection=enabled --overwrite
- VHOST=yelb.$NS.$CLUSTER mo deploy/yelb.yaml | kubectl delete -f -
- kubectl delete -f deploy/yelb.yaml | kubectl delete -f -
- sleep 5
- VHOST=yelb.$NS.$CLUSTER mo deploy/yelb.yaml | kubectl apply -f -
- kubectl apply -f deploy/yelb.yaml
shutdown:
stage: teardown
......@@ -42,4 +40,4 @@ shutdown:
script:
- NS=$(kubectl config view --minify --output 'jsonpath={..namespace}')
- kubectl label ns $NS istio-injection=disabled --overwrite
- VHOST=yelb.$NS.$CLUSTER mo deploy/yelb.yaml | kubectl delete -f -
- kubectl delete -f deploy/
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