X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-platform%2F50-RIC-Platform%2Fhelm%2Fdbaas%2Ftemplates%2Fservice.yaml;h=af290b79dbd3f761852a4be7bb06803d8b2a87de;hb=3aac30b15cf0c89b543b4ad0ad7fc9a5a67c873a;hp=0708b0c973cd5e3694c7bac6f3552fc5f04bee79;hpb=7f1e409379856025977fc8a6ea04ddb215f21a13;p=it%2Fdep.git diff --git a/ric-platform/50-RIC-Platform/helm/dbaas/templates/service.yaml b/ric-platform/50-RIC-Platform/helm/dbaas/templates/service.yaml index 0708b0c9..af290b79 100644 --- a/ric-platform/50-RIC-Platform/helm/dbaas/templates/service.yaml +++ b/ric-platform/50-RIC-Platform/helm/dbaas/templates/service.yaml @@ -18,17 +18,19 @@ apiVersion: v1 kind: Service metadata: - name: {{ include "dbaas.fullname" . }} - namespace: {{ include "common.namespace" . }} + name: {{ include "common.servicename.dbaas.tcp" . }} + namespace: {{ include "common.namespace.platform" . }} labels: - app: {{ include "common.namespace" . }}-{{ include "common.name" . }} + app: {{ include "common.namespace.platform" . }}-{{ include "common.name.dbaas" . }} chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} spec: selector: - app: {{ include "common.namespace" . }}-{{ include "common.name" . }} + app: {{ include "common.namespace.platform" . }}-{{ include "common.name.dbaas" . }} release: {{ .Release.Name }} ports: - - port: {{ .Values.dbaas.backend.port }} - targetPort: {{ .Values.dbaas.backend.targetPort }} + - port: {{ include "common.serviceport.dbaas.tcp" . }} + targetPort: "sql" + protocol: "TCP" + name: "sql"