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
Rogge, Torben
lab-observability
Commits
fa7230c1
Commit
fa7230c1
authored
Dec 28, 2020
by
Nane Kratzke
Browse files
removed ingress
parent
de982ea0
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
fa7230c1
...
...
@@ -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/
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