X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-platform%2F50-RIC-Platform%2Fhelm%2Fdbaas%2Ftemplates%2Fdeployment.yaml;h=fb6ec8190ba7a08bc78f05cfe4b0bb1e35da5a0d;hb=3aac30b15cf0c89b543b4ad0ad7fc9a5a67c873a;hp=135b2c275c2b0e517ed7ca351b99c413df5cf1ec;hpb=a397399c6ae05e03a4fe112ed1b29ecd311c264f;p=it%2Fdep.git diff --git a/ric-platform/50-RIC-Platform/helm/dbaas/templates/deployment.yaml b/ric-platform/50-RIC-Platform/helm/dbaas/templates/deployment.yaml index 135b2c27..fb6ec819 100644 --- a/ric-platform/50-RIC-Platform/helm/dbaas/templates/deployment.yaml +++ b/ric-platform/50-RIC-Platform/helm/dbaas/templates/deployment.yaml @@ -19,9 +19,9 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ include "common.deploymentname.dbaas" . }} - namespace: {{ include "common.namespace" . }} + 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 }} @@ -29,12 +29,12 @@ spec: replicas: {{ .Values.dbaas.backend.replicas }} selector: matchLabels: - app: {{ include "common.namespace" . }}-{{ include "common.name" . }} + app: {{ include "common.namespace.platform" . }}-{{ include "common.name.dbaas" . }} release: {{ .Release.Name }} template: metadata: labels: - app: {{ include "common.namespace" . }}-{{ include "common.name" . }} + app: {{ include "common.namespace.platform" . }}-{{ include "common.name.dbaas" . }} release: {{ .Release.Name }} spec: imagePullSecrets: @@ -44,6 +44,8 @@ spec: - image: {{ include "common.repository" . }}/{{ .Values.dbaas.backend.image.name }}:{{ .Values.dbaas.backend.image.tag }} imagePullPolicy: {{ include "common.pullPolicy" . }} ports: - - containerPort: {{ .Values.dbaas.backend.targetPort }} - name: {{ include "common.namespace" . }}-{{ include "common.name" . }} + - containerPort: {{ include "common.serviceport.dbaas.tcp" . }} + name: sql + protocol: TCP + name: {{ include "common.containername.dbaas" . }} restartPolicy: Always