mirror of
https://github.com/pgsty/minio.git
synced 2026-10-30 12:30:39 +03:00
27 lines
990 B
YAML
27 lines
990 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{ template "minio.fullname" . }}
|
|
namespace: {{ .Release.Namespace | quote }}
|
|
labels:
|
|
app: {{ template "minio.name" . }}
|
|
chart: {{ template "minio.chart" . }}
|
|
release: {{ .Release.Name }}
|
|
heritage: {{ .Release.Service }}
|
|
data:
|
|
initialize: |-
|
|
{{ include (print $.Template.BasePath "/_helper_create_bucket.txt") . | indent 4 }}
|
|
add-user: |-
|
|
{{ include (print $.Template.BasePath "/_helper_create_user.txt") . | indent 4 }}
|
|
add-policy: |-
|
|
{{ include (print $.Template.BasePath "/_helper_create_policy.txt") . | indent 4 }}
|
|
{{- range $idx, $policy := .Values.policies }}
|
|
# {{ $policy.name }}
|
|
policy_{{ $idx }}.json: |-
|
|
{{ include (print $.Template.BasePath "/_helper_policy.tpl") . | indent 4 }}
|
|
{{ end }}
|
|
add-svcacct: |-
|
|
{{ include (print $.Template.BasePath "/_helper_create_svcacct.txt") . | indent 4 }}
|
|
custom-command: |-
|
|
{{ include (print $.Template.BasePath "/_helper_custom_command.txt") . | indent 4 }}
|