Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
europdx
k8s
cbio-on-demand
Kubernetes-Docker
Commits
25d75f27
Commit
25d75f27
authored
Aug 20, 2019
by
Ľuboslav Pivarč
Browse files
Scoped ingress & var on domain & sed domain
parent
0e09492a
Pipeline
#22518
passed with stages
in 11 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
25d75f27
...
@@ -48,6 +48,7 @@ deploy to k8s:
...
@@ -48,6 +48,7 @@ deploy to k8s:
stage
:
deploy
stage
:
deploy
variables
:
variables
:
NAMESPACE
:
cbio-on-demand
NAMESPACE
:
cbio-on-demand
DOMAIN
:
cbiood
<<
:
*kube-auth
<<
:
*kube-auth
image
:
registry.gitlab.ics.muni.cz:443/europdx/k8s/ci:latest
image
:
registry.gitlab.ics.muni.cz:443/europdx/k8s/ci:latest
script
:
script
:
...
@@ -86,6 +87,7 @@ deploy to k8s beta:
...
@@ -86,6 +87,7 @@ deploy to k8s beta:
stage
:
deploy
stage
:
deploy
variables
:
variables
:
NAMESPACE
:
cbio-on-demand-beta
NAMESPACE
:
cbio-on-demand-beta
DOMAIN
:
cbiood-beta
<<
:
*kube-auth
<<
:
*kube-auth
image
:
registry.gitlab.ics.muni.cz:443/europdx/k8s/ci:latest
image
:
registry.gitlab.ics.muni.cz:443/europdx/k8s/ci:latest
script
:
script
:
...
@@ -124,6 +126,7 @@ deploy to k8s dev:
...
@@ -124,6 +126,7 @@ deploy to k8s dev:
stage
:
deploy
stage
:
deploy
variables
:
variables
:
NAMESPACE
:
cbio-on-demand-dev
NAMESPACE
:
cbio-on-demand-dev
DOMAIN
:
cbiood-dev
<<
:
*kube-auth
<<
:
*kube-auth
image
:
registry.gitlab.ics.muni.cz:443/europdx/k8s/ci:latest
image
:
registry.gitlab.ics.muni.cz:443/europdx/k8s/ci:latest
script
:
script
:
...
...
yaml/bash.sh
View file @
25d75f27
...
@@ -2,4 +2,5 @@ echo "Hi I am here"
...
@@ -2,4 +2,5 @@ echo "Hi I am here"
cd
yaml
cd
yaml
for
i
in
*
;
do
for
i
in
*
;
do
sed
-i
"s^__NAMESPACE__^
${
NAMESPACE
}
^"
$i
sed
-i
"s^__NAMESPACE__^
${
NAMESPACE
}
^"
$i
sed
-i
"s^__DOMAIN__^
${
DOMAIN
}
"
$i
done
done
yaml/ingress-proxy.yml
View file @
25d75f27
...
@@ -8,10 +8,10 @@ metadata:
...
@@ -8,10 +8,10 @@ metadata:
spec
:
spec
:
tls
:
tls
:
-
hosts
:
-
hosts
:
-
cbiood
.edirex.ics.muni.cz
-
__DOMAIN__
.edirex.ics.muni.cz
secretName
:
ingress
secretName
:
ingress
rules
:
rules
:
-
host
:
cbiood
.edirex.ics.muni.cz
-
host
:
__DOMAIN__
.edirex.ics.muni.cz
http
:
http
:
paths
:
paths
:
-
path
:
/
-
path
:
/
...
...
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