mirror of
https://github.com/pgsty/minio.git
synced 2026-11-25 16:49:09 +03:00
2b96153a61
* Support releasing on “chart-<version>” tags, fixes #223 * Add commonLabels that are used on all resources * Support templated values in numerous locations * Add oidc.existingConfigMapName and oidc.existingConfigUrlKey * Add networkPolicy.allowFrom * support targetLabels on ServiceMonitor * Support Probe relabelingConfigs * Allow postJob default containerSecurityContext * Allow policies to be templated string * Set MINIO_BROWSER_REDIRECT_URL * Ensure job egress only enabled when networkPolicy.egress.enabled set Signed-off-by: Trey Dockendorf <tdockendorf@osc.edu>
25 lines
795 B
YAML
25 lines
795 B
YAML
{{- if not .Values.existingSecret }}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ template "silo.secretName" . }}
|
|
labels:
|
|
app: {{ template "silo.name" . }}
|
|
chart: {{ template "silo.chart" . }}
|
|
release: {{ .Release.Name }}
|
|
heritage: {{ .Release.Service }}
|
|
{{- with .Values.commonLabels }}
|
|
{{- tpl (toYaml .) $ | nindent 4 }}
|
|
{{- end }}
|
|
type: Opaque
|
|
data:
|
|
rootUser: {{ include "silo.root.username" . | b64enc | quote }}
|
|
rootPassword: {{ include "silo.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 }}
|