Removed 'subPath' field which blocks reloading mounted
file when Configmap changes.
Signed-off-by: Michal Banka <michal.banka@nokia.com>
Change-Id: I78614e06542392a7c39cd650fd5ae1f98108c365
Issue-ID: DCAEGEN2-2576
value: {{ .Values.schemaMap.directory }}/{{ .Values.schemaMap.filename }}
volumeMounts:
- name: schema-map
- mountPath: {{ .Values.schemaMap.directory }}/{{ .Values.schemaMap.filename }}
- subPath: {{ .Values.schemaMap.filename }}
+ mountPath: {{ .Values.schemaMap.directory }}
volumes:
- name: schema-map
configMap:
schemaMap:
filename: "schema-map.json"
- directory: "/app"
+ directory: "/app/mappings"
liveness:
initialDelaySeconds: 30