Code Review
/
it
/
dep.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Update nexus helm charts. Docker and helm repos are exposed using separated...
[it/dep.git]
/
ric-infra
/
10-Nexus
/
helm
/
templates
/
service.yaml
diff --git
a/ric-infra/10-Nexus/helm/templates/service.yaml
b/ric-infra/10-Nexus/helm/templates/service.yaml
index
796206f
..
75afbb9
100644
(file)
--- a/
ric-infra/10-Nexus/helm/templates/service.yaml
+++ b/
ric-infra/10-Nexus/helm/templates/service.yaml
@@
-18,23
+18,24
@@
apiVersion: v1
kind: Service
metadata:
apiVersion: v1
kind: Service
metadata:
- name: {{ include "nexus.fullname" . }}
+ name: {{ include "common.servicename.nexus.http" . }}
+ namespace: {{ include "common.namespace" . }}
labels:
labels:
- app: {{
template "nexus
.name" . }}
- chart: {{
template "nexus.chart" .
}}
+ app: {{
include "common.namespace" . }}-{{ include "common
.name" . }}
+ chart: {{
.Chart.Name }}-{{ .Chart.Version | replace "+" "_"
}}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
type: ClusterIP
ports:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
type: ClusterIP
ports:
- - port: {{ .Values.
service.port.nexus
}}
+ - port: {{ .Values.
nexus.service.nexus.port
}}
targetPort: nexus
protocol: TCP
name: nexus
targetPort: nexus
protocol: TCP
name: nexus
- - port: {{ .Values.
service.port.docker
}}
+ - port: {{ .Values.
nexus.service.docker.port
}}
targetPort: docker
protocol: TCP
name: docker
selector:
targetPort: docker
protocol: TCP
name: docker
selector:
- app: {{
template "nexus
.name" . }}
+ app: {{
include "common.namespace" . }}-{{ include "common
.name" . }}
release: {{ .Release.Name }}
release: {{ .Release.Name }}