2020-12-16 11:26:20 +00:00
|
|
|
{{- 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 }}
|
2022-10-14 14:59:09 +00:00
|
|
|
{{- with .Values.commonLabels }}{{ toYaml . | trim | nindent 4 }}{{- end }}
|
2020-12-16 11:26:20 +00:00
|
|
|
stringData:
|
|
|
|
adminID: {{ .Values.secret.adminID }}
|
|
|
|
adminKey: {{ .Values.secret.adminKey }}
|
|
|
|
{{- end -}}
|