mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 11:00:25 +00:00
helm: Add csi secret template to ceph-csi-rbd
Deploy csi secret when using the helm chart. Signed-off-by: Yug <yuggupta27@gmail.com>
This commit is contained in:
parent
ecf768ec41
commit
230f0d3f22
17
charts/ceph-csi-rbd/templates/secret.yaml
Normal file
17
charts/ceph-csi-rbd/templates/secret.yaml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{{- if .Values.secret.create -}}
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: {{ .Values.secret.name }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels:
|
||||||
|
app: {{ include "ceph-csi-rbd.name" . }}
|
||||||
|
chart: {{ include "ceph-csi-rbd.chart" . }}
|
||||||
|
release: {{ .Release.Name }}
|
||||||
|
heritage: {{ .Release.Service }}
|
||||||
|
stringData:
|
||||||
|
userID: {{ .Values.secret.userID }}
|
||||||
|
userKey: {{ .Values.secret.userKey }}
|
||||||
|
|
||||||
|
encryptionPassphrase: {{ .Values.secret.encryptionPassphrase }}
|
||||||
|
{{- end -}}
|
Loading…
Reference in New Issue
Block a user