Support externally managed configmap.

https://github.com/ceph/ceph-csi/issues/927

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
(cherry picked from commit d4c4954c9d)
This commit is contained in:
Kevin Fox
2020-04-10 08:55:21 -07:00
committed by mergify[bot]
parent 1a8f8e3c24
commit 6f73d4e3ca
8 changed files with 32 additions and 0 deletions

View File

@ -189,6 +189,11 @@ spec:
- name: ceph-csi-config
configMap:
name: {{ .Values.configMapName | quote }}
{{- if .Values.configMapKey }}
items:
- key: {{ .Values.configMapKey | quote }}
path: config.json
{{- end }}
- name: ceph-csi-encryption-kms-config
configMap:
name: {{ .Values.kmsConfigMapName | quote }}