X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-platform%2F50-RIC-Platform%2Fhelm%2Fa1mediator%2Ftemplates%2Fdeployment.yaml;h=f14d4e21a5e90b4f7763c491caf0f64401ea404b;hb=refs%2Fchanges%2F75%2F675%2F2;hp=dbd8857cf1952f53b50d949bd61b184b8a245578;hpb=112e73d383b26192fea6e320ef3de6ef6bfdca0a;p=it%2Fdep.git diff --git a/ric-platform/50-RIC-Platform/helm/a1mediator/templates/deployment.yaml b/ric-platform/50-RIC-Platform/helm/a1mediator/templates/deployment.yaml index dbd8857c..f14d4e21 100644 --- a/ric-platform/50-RIC-Platform/helm/a1mediator/templates/deployment.yaml +++ b/ric-platform/50-RIC-Platform/helm/a1mediator/templates/deployment.yaml @@ -34,6 +34,10 @@ spec: release: {{ .Release.Name }} template: metadata: + {{- if .Values.a1mediator.annotations }} + annotations: + {{- .Values.a1mediator.annotations | nindent 8 -}} + {{ end }} labels: app: {{ include "common.namespace.platform" . }}-{{ include "common.name.a1mediator" . }} release: {{ .Release.Name }} @@ -60,21 +64,21 @@ spec: imagePullPolicy: {{ include "common.pullPolicy" . }} ports: - name: http - containerPort: {{ .Values.a1mediator.service.http.containerPort }} + containerPort: {{ include "common.serviceport.a1mediator.http" . }} protocol: TCP - name: rmrroute - containerPort: {{ .Values.a1mediator.service.rmr.route.port }} + containerPort: {{ include "common.serviceport.a1mediator.rmr.route" . }} protocol: TCP - name: rmrdata - containerPort: {{ .Values.a1mediator.service.rmr.data.port }} + containerPort: {{ include "common.serviceport.a1mediator.rmr.data" . }} protocol: TCP livenessProbe: httpGet: - path: /ui + path: /healthcheck port: http readinessProbe: httpGet: - path: /ui + path: /healthcheck port: http volumes: - name: "a1conf"