mirror of
https://github.com/minio/minio.git
synced 2025-02-11 13:48:10 -05:00
23 lines
752 B
YAML
23 lines
752 B
YAML
{{- if not .Values.existingSecret }}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ template "minio.secretName" . }}
|
|
namespace: {{ .Release.Namespace | quote }}
|
|
labels:
|
|
app: {{ template "minio.name" . }}
|
|
chart: {{ template "minio.chart" . }}
|
|
release: {{ .Release.Name }}
|
|
heritage: {{ .Release.Service }}
|
|
type: Opaque
|
|
data:
|
|
rootUser: {{ include "minio.root.username" . | b64enc | quote }}
|
|
rootPassword: {{ include "minio.root.password" . | b64enc | quote }}
|
|
{{- if .Values.etcd.clientCert }}
|
|
etcd_client.crt: {{ .Values.etcd.clientCert | toString | b64enc | quote }}
|
|
{{- end }}
|
|
{{- if .Values.etcd.clientCertKey }}
|
|
etcd_client.key: {{ .Values.etcd.clientCertKey | toString | b64enc | quote }}
|
|
{{- end }}
|
|
{{- end }}
|