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 }} {{- if .Values.s3.domainName }}
-domainName={{ .Values.s3.domainName }} \ -domainName={{ .Values.s3.domainName }} \
{{- end }} {{- end }}
-filer={{ template "seaweedfs.name" . }}-filer:{{ .Values.filer.port }} {{- if .Values.s3.allowEmptyFolder }}
{{- if or (.Values.global.enableSecurity) (.Values.s3.extraVolumeMounts) }} -allowEmptyFolder={{ .Values.s3.allowEmptyFolder }} \
{{- end }}
-filer={{ template "seaweedfs.name" . }}-filer-client:{{ .Values.filer.port }}
volumeMounts: volumeMounts:
{{- if .Values.global.enableSecurity }} {{- if .Values.global.enableSecurity }}
- name: security-config - name: security-config

View file

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