Browse Source

s3 allowEmptyFolder

enable setting allowEmptyFolder for s3 server
pull/1742/head
LazyDBA247-Anyvision 4 years ago
parent
commit
9ca1787e7e
  1. 6
      k8s/seaweedfs/templates/s3-deployment.yaml
  2. 2
      k8s/seaweedfs/values.yaml

6
k8s/seaweedfs/templates/s3-deployment.yaml

@ -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

2
k8s/seaweedfs/values.yaml

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

Loading…
Cancel
Save