mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-23 06:40:23 +00:00
a55d5efade
Deploy cephfs secret when using the ceph-csi-cephfs helm chart. Signed-off-by: Yug <yuggupta27@gmail.com>
16 lines
428 B
YAML
16 lines
428 B
YAML
{{- if .Values.secret.create -}}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ .Values.secret.name }}
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
app: {{ include "ceph-csi-cephfs.name" . }}
|
|
chart: {{ include "ceph-csi-cephfs.chart" . }}
|
|
release: {{ .Release.Name }}
|
|
heritage: {{ .Release.Service }}
|
|
stringData:
|
|
adminID: {{ .Values.secret.adminID }}
|
|
adminKey: {{ .Values.secret.adminKey }}
|
|
{{- end -}}
|