s3 allowEmptyFolder

enable setting allowEmptyFolder for s3 server
This commit is contained in:
LazyDBA247-Anyvision 2021-01-13 22:17:34 +02:00
parent 5e62f77681
commit 9ca1787e7e
2 changed files with 6 additions and 2 deletions

View file

@ -87,8 +87,10 @@ spec:
{{- if .Values.s3.domainName }}
-domainName={{ .Values.s3.domainName }} \
{{- end }}
-filer={{ template "seaweedfs.name" . }}-filer:{{ .Values.filer.port }}
{{- if or (.Values.global.enableSecurity) (.Values.s3.extraVolumeMounts) }}
{{- if .Values.s3.allowEmptyFolder }}
-allowEmptyFolder={{ .Values.s3.allowEmptyFolder }} \
{{- end }}
-filer={{ template "seaweedfs.name" . }}-filer-client:{{ .Values.filer.port }}
volumeMounts:
{{- if .Values.global.enableSecurity }}
- name: security-config

View file

@ -319,6 +319,8 @@ s3:
port: 8333
metricsPort: 9327
loggingOverrideLevel: null
#allow empty folders
allowEmptyFolder: true
# Suffix of the host name, {bucket}.{domainName}
domainName: ""