Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Schwieger, Jana
lab-observability
Commits
f757e550
Commit
f757e550
authored
Dec 21, 2020
by
Nane Kratzke
Browse files
VHOST
parent
6e266de7
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
f757e550
...
...
@@ -12,9 +12,6 @@ yelb:
image
:
$KUBECTL
script
:
-
NS=$(kubectl config view --minify --output 'jsonpath={..namespace}')
-
VHOST=yelb.$NS.$CLUSTER
-
echo $VHOST
-
mo deploy/yelb.yaml
-
VHOST=yelb.$NS.$CLUSTER mo deploy/yelb.yaml | kubectl apply -f -
istio
:
...
...
@@ -23,11 +20,10 @@ istio:
when
:
manual
script
:
-
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 -
-
VHOST=yelb.$NS.$CLUSTER
mo deploy/yelb.yaml | kubectl delete -f -
-
sleep
5
-
mo deploy/yelb.yaml | kubectl apply -f -
-
VHOST=yelb.$NS.$CLUSTER
mo deploy/yelb.yaml | kubectl apply -f -
shutdown
:
stage
:
teardown
...
...
@@ -35,6 +31,5 @@ shutdown:
when
:
manual
script
:
-
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 -
-
VHOST=yelb.$NS.$CLUSTER
mo deploy/yelb.yaml | kubectl delete -f -
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment