1
0
mirror of https://github.com/minio/minio.git synced 2025-04-22 03:24:38 -04:00

helm: fix positional parameter in template ()

fixes 
This commit is contained in:
yanggang 2022-11-12 04:44:37 +08:00 committed by GitHub
parent 66239f30ce
commit 00857f8f59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -118,6 +118,6 @@ connectToMinio $scheme
{{ $global := . }}
# Create the buckets
{{- range .Values.buckets }}
createBucket {{ tpl .name $global }} {{ .policy }} {{ .purge }} {{ .versioning }} {{ .objectlocking }}
createBucket {{ tpl .name $global }} {{ .policy | default "none" | quote }} {{ .purge | default false }} {{ .versioning | default false }} {{ .objectlocking | default false }}
{{- end }}
{{- end }}