mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
s3 allowEmptyFolder
enable setting allowEmptyFolder for s3 server
This commit is contained in:
parent
5e62f77681
commit
9ca1787e7e
|
@ -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
|
||||||
|
|
|
@ -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: ""
|
||||||
|
|
Loading…
Reference in a new issue