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
74947b41
Commit
74947b41
authored
Dec 21, 2020
by
Nane Kratzke
Browse files
correct istio injection labeling
parent
f757e550
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
74947b41
...
...
@@ -20,7 +20,7 @@ istio:
when
:
manual
script
:
-
NS=$(kubectl config view --minify --output 'jsonpath={..namespace}')
-
kubectl label ns $NS istio-inject=enabled --overwrite
-
kubectl label ns $NS istio-inject
ion
=enabled --overwrite
-
VHOST=yelb.$NS.$CLUSTER mo deploy/yelb.yaml | kubectl delete -f -
-
sleep
5
-
VHOST=yelb.$NS.$CLUSTER mo deploy/yelb.yaml | kubectl apply -f -
...
...
@@ -31,5 +31,5 @@ shutdown:
when
:
manual
script
:
-
NS=$(kubectl config view --minify --output 'jsonpath={..namespace}')
-
kubectl label ns $NS istio-inject=disabled --overwrite
-
kubectl label ns $NS istio-inject
ion
=disabled --overwrite
-
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