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=d0f3df504e2d89725c8b05eae094397d6dfcf5e6;hb=3803859c341dc62bdcd79ba94be585592a94672b;hp=c87ddf37fb173a5b174855db3a3551a9cccf7bee;hpb=04d8123f5b80bddc11cc97c78e994589634a2c7b;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 c87ddf37..d0f3df50 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 "common.servicename.dbaas" . }} - 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 }} + targetPort: "sql" + protocol: "TCP" + name: "sql"