UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Platform One
Big Bang
P
Packages
Developer Tools
Nexus
Commits
b8ebc3db
Commit
b8ebc3db
authored
Apr 26, 2021
by
Thomas Runyon
Browse files
added more vs for docker registires
parent
8255ea74
Pipeline
#234043
passed with stages
in 2 minutes and 50 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
1 deletion
+31
-1
chart/templates/bigbang/virtualservice.yaml
chart/templates/bigbang/virtualservice.yaml
+28
-1
chart/values.yaml
chart/values.yaml
+3
-0
No files found.
chart/templates/bigbang/virtualservice.yaml
View file @
b8ebc3db
...
@@ -14,7 +14,9 @@ metadata:
...
@@ -14,7 +14,9 @@ metadata:
app.kubernetes.io/component
:
{{
include "nexus.name" .
}}
app.kubernetes.io/component
:
{{
include "nexus.name" .
}}
spec
:
spec
:
gateways
:
gateways
:
-
istio-system/main
{{
- range .Values.istio.nexus.gateways
}}
-
{{
.
}}
{{
- end
}}
hosts
:
hosts
:
-
"
{{
.Values.hostname
}}.{{
.Values.domain
}}"
-
"
{{
.Values.hostname
}}.{{
.Values.domain
}}"
http
:
http
:
...
@@ -24,3 +26,28 @@ spec:
...
@@ -24,3 +26,28 @@ spec:
number
:
{{
.Values.nexus.nexusPort
}}
number
:
{{
.Values.nexus.nexusPort
}}
host
:
{{
$serviceName
}}
host
:
{{
$serviceName
}}
{{
- end
}}
{{
- end
}}
{{
- $fullName
:
= include "nexus.fullname" . -
}}
{{
if .Values.nexus.docker.enabled
}}
{{
range $registry
:
= .Values.nexus.docker.registries
}}
---
apiVersion
:
networking.istio.io/v1beta1
kind
:
VirtualService
metadata
:
name
:
{{
$fullName | trunc 49
}}
-docker-{{ $registry.port }}
namespace
:
{{
$.Release.Namespace
}}
spec
:
gateways
:
{{
- range $.Values.istio.nexus.gateways
}}
-
{{
.
}}
{{
- end
}}
hosts
:
-
{{
$registry.host | quote
}}
http
:
-
route
:
-
destination
:
port
:
number
:
{{
$registry.port
}}
host
:
{{
$fullName | trunc 49
}}
-docker-{{ $registry.port }}
{{
- end
}}
{{
- end
}}
chart/values.yaml
View file @
b8ebc3db
...
@@ -3,6 +3,9 @@ hostname: nexus
...
@@ -3,6 +3,9 @@ hostname: nexus
domain
:
bigbang.dev
domain
:
bigbang.dev
istio
:
istio
:
enabled
:
false
enabled
:
false
nexus
:
gateways
:
-
"
istio-system/main"
monioring
:
monioring
:
enabled
:
false
enabled
:
false
license_key
:
"
"
license_key
:
"
"
...
...
Write
Preview
Markdown
is supported
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