diff --git a/charts/ceph-csi-cephfs/templates/secret.yaml b/charts/ceph-csi-cephfs/templates/secret.yaml new file mode 100644 index 000000000..7063543b7 --- /dev/null +++ b/charts/ceph-csi-cephfs/templates/secret.yaml @@ -0,0 +1,15 @@ +{{- 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 -}}