mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-19 03:20:20 +00:00
helm: Add secret template to ceph-csi-cephfs
Deploy cephfs secret when using the ceph-csi-cephfs helm chart. Signed-off-by: Yug <yuggupta27@gmail.com>
This commit is contained in:
parent
eddcf6b6d4
commit
a55d5efade
15
charts/ceph-csi-cephfs/templates/secret.yaml
Normal file
15
charts/ceph-csi-cephfs/templates/secret.yaml
Normal file
@ -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 -}}
|
Loading…
Reference in New Issue
Block a user