mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-14 02:10:21 +00:00
dea07aa184
Signed-off-by: BOSSER, Bastien <bastien.bosser@atos.net>
17 lines
508 B
YAML
17 lines
508 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 }}
|
|
{{- with .Values.commonLabels }}{{ toYaml . | trim | nindent 4 }}{{- end }}
|
|
stringData:
|
|
adminID: {{ .Values.secret.adminID }}
|
|
adminKey: {{ .Values.secret.adminKey }}
|
|
{{- end -}}
|