X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-infra%2F10-Nexus%2Fhelm%2Ftemplates%2Fservice.yaml;h=75afbb9449b167abd31dc6ccce35f7923ae40f17;hb=86b29e1012a61a131f54637ffa3a8814660c13dc;hp=796206f22783641aa69152c4b574f281675e39c5;hpb=7f1e409379856025977fc8a6ea04ddb215f21a13;p=it%2Fdep.git diff --git a/ric-infra/10-Nexus/helm/templates/service.yaml b/ric-infra/10-Nexus/helm/templates/service.yaml index 796206f2..75afbb94 100644 --- 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: - name: {{ include "nexus.fullname" . }} + name: {{ include "common.servicename.nexus.http" . }} + namespace: {{ include "common.namespace" . }} 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: - - port: {{ .Values.service.port.nexus }} + - port: {{ .Values.nexus.service.nexus.port }} targetPort: nexus protocol: TCP name: nexus - - port: {{ .Values.service.port.docker }} + - port: {{ .Values.nexus.service.docker.port }} targetPort: docker protocol: TCP name: docker selector: - app: {{ template "nexus.name" . }} + app: {{ include "common.namespace" . }}-{{ include "common.name" . }} release: {{ .Release.Name }}