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