mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-25 14:30:22 +00:00
dea07aa184
Signed-off-by: BOSSER, Bastien <bastien.bosser@atos.net>
19 lines
565 B
YAML
19 lines
565 B
YAML
{{- 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 }}
|
|
{{- with .Values.commonLabels }}{{ toYaml . | trim | nindent 4 }}{{- end }}
|
|
stringData:
|
|
userID: {{ .Values.secret.userID }}
|
|
userKey: {{ .Values.secret.userKey }}
|
|
|
|
encryptionPassphrase: {{ .Values.secret.encryptionPassphrase }}
|
|
{{- end -}}
|