X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=ric-platform%2F50-RIC-Platform%2Fhelm%2Fappmgr%2Ftemplates%2Fdeployment.yaml;h=ce05589cc18404a34e731305ec7f90f18a81dc33;hb=a9ae10bcbf57300b65fb0f39090034554c59270c;hp=a4848137bf502d790b7723a01e5cff6b631548b0;hpb=f127b33c7ac113cf0544f3685d9ba4b631cc2e00;p=it%2Fdep.git diff --git a/ric-platform/50-RIC-Platform/helm/appmgr/templates/deployment.yaml b/ric-platform/50-RIC-Platform/helm/appmgr/templates/deployment.yaml index a4848137..ce05589c 100644 --- a/ric-platform/50-RIC-Platform/helm/appmgr/templates/deployment.yaml +++ b/ric-platform/50-RIC-Platform/helm/appmgr/templates/deployment.yaml @@ -33,11 +33,16 @@ spec: release: {{ .Release.Name }} template: metadata: + {{- if .Values.appmgr.annotations }} + annotations: + {{- .Values.appmgr.annotations | nindent 8 -}} + {{ end }} labels: app: {{ include "common.namespace.platform" . }}-{{ include "common.name.appmgr" . }} release: {{ .Release.Name }} spec: hostname: {{ include "common.name.appmgr" . }} + serviceAccountName: {{ include "common.serviceaccountname.appmgr" . }} imagePullSecrets: - name: {{ include "common.repositoryCred" . }} containers: @@ -46,13 +51,13 @@ spec: imagePullPolicy: {{ include "common.pullPolicy" . }} ports: - name: http - containerPort: {{ .Values.appmgr.service.http.containerPort }} + containerPort: {{ include "common.serviceport.appmgr.http" . }} protocol: TCP - name: rmrroute - containerPort: {{ .Values.appmgr.service.rmr.route.port }} + containerPort: {{ include "common.serviceport.appmgr.rmr.route" . }} protocol: TCP - name: rmrdata - containerPort: {{ .Values.appmgr.service.rmr.data.port }} + containerPort: {{ include "common.serviceport.appmgr.rmr.data" . }} protocol: TCP volumeMounts: - name: config-volume