X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-aux%2F80-Auxiliary-Functions%2Fhelm%2Fdashboard%2Ftemplates%2Fservice.yaml;h=88dc203a957eb4bb590fd7c5bc741dd873a56100;hb=b0d610ef0ba334c963cac6e2f3423657fda803dd;hp=08a48875e99087bedf9cfc842a6cf01b604829f3;hpb=413a28108995fe4299718fab6d5f300a210b3ffe;p=it%2Fdep.git diff --git a/ric-aux/80-Auxiliary-Functions/helm/dashboard/templates/service.yaml b/ric-aux/80-Auxiliary-Functions/helm/dashboard/templates/service.yaml index 08a48875..88dc203a 100644 --- a/ric-aux/80-Auxiliary-Functions/helm/dashboard/templates/service.yaml +++ b/ric-aux/80-Auxiliary-Functions/helm/dashboard/templates/service.yaml @@ -18,20 +18,20 @@ apiVersion: v1 kind: Service metadata: - name: {{ include "dashboard.fullname" . }} - namespace: {{ include "common.namespace" . }} + name: {{ include "common.servicename.dashboard.http" . }} + namespace: {{ include "common.namespace.aux" . }} labels: - app: {{ include "common.namespace" . }}-{{ include "common.name" . }} + app: {{ include "common.namespace.aux" . }}-{{ include "common.name.dashboard" . }} chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} spec: - type: {{ .Values.dashboard.service.type }} + type: NodePort ports: - - port: {{ .Values.dashboard.server.port }} - nodePort: {{ .Values.dashboard.service.port }} - targetPort: http - protocol: TCP + - port: {{ include "common.serviceport.dashboard.container" . }} + nodePort: {{ include "common.serviceport.dashboard.http" . }} + protocol: "TCP" + targetPort: "http" selector: - app: {{ include "common.namespace" . }}-{{ include "common.name" . }} + app: {{ include "common.namespace.aux" . }}-{{ include "common.name.dashboard" . }} release: {{ .Release.Name }}