X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=ric-platform%2F50-RIC-Platform%2Fhelm%2Fsubmgr%2Ftemplates%2Fdeployment.yaml;h=ff7599447941306e3c5950c1f0f89f2f08bd3139;hb=refs%2Fchanges%2F34%2F1234%2F9;hp=bb4808a0e6cdf959940fc01cc9d50c92f4093539;hpb=3aac30b15cf0c89b543b4ad0ad7fc9a5a67c873a;p=it%2Fdep.git diff --git a/ric-platform/50-RIC-Platform/helm/submgr/templates/deployment.yaml b/ric-platform/50-RIC-Platform/helm/submgr/templates/deployment.yaml index bb4808a0..ff759944 100644 --- a/ric-platform/50-RIC-Platform/helm/submgr/templates/deployment.yaml +++ b/ric-platform/50-RIC-Platform/helm/submgr/templates/deployment.yaml @@ -38,6 +38,10 @@ spec: release: {{ .Release.Name }} template: metadata: + {{- if .Values.submgr.annotations }} + annotations: + {{- .Values.submgr.annotations | nindent 8 -}} + {{ end }} labels: app: {{ include "common.namespace.platform" . }}-{{ include "common.name.submgr" . }} release: {{ .Release.Name }} @@ -62,4 +66,16 @@ spec: protocol: TCP - name: rmrdata containerPort: {{ include "common.serviceport.submgr.rmr.data" . }} - protocol: TCP \ No newline at end of file + protocol: TCP + volumeMounts: + - name: config-volume + mountPath: /cfg + volumes: + - name: config-volume + configMap: + name: submgrcfg + items: + - key: submgrcfg + path: submgr-config.yaml + mode: 0644 +