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 }}
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
+