2020-04-10 15:55:21 +00:00
|
|
|
{{- if not .Values.externallyManagedConfigmap }}
|
2019-04-22 21:35:39 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: ConfigMap
|
|
|
|
metadata:
|
|
|
|
name: {{ .Values.configMapName | quote }}
|
2019-07-29 10:36:24 +00:00
|
|
|
namespace: {{ .Release.Namespace }}
|
2019-04-22 21:35:39 +00:00
|
|
|
labels:
|
|
|
|
app: {{ include "ceph-csi-rbd.name" . }}
|
|
|
|
chart: {{ include "ceph-csi-rbd.chart" . }}
|
|
|
|
component: {{ .Values.nodeplugin.name }}
|
|
|
|
release: {{ .Release.Name }}
|
|
|
|
heritage: {{ .Release.Service }}
|
2022-10-14 14:59:09 +00:00
|
|
|
{{- with .Values.commonLabels }}{{ toYaml . | trim | nindent 4 }}{{- end }}
|
2019-04-22 21:35:39 +00:00
|
|
|
data:
|
|
|
|
config.json: |-
|
2021-11-04 21:18:25 +00:00
|
|
|
{{ toJson .Values.csiConfig | indent 4 }}
|
2021-07-26 12:28:26 +00:00
|
|
|
cluster-mapping.json: |-
|
2021-11-04 21:18:25 +00:00
|
|
|
{{ toJson .Values.csiMapping | indent 4 }}
|
2020-04-10 15:55:21 +00:00
|
|
|
{{- end }}
|