Browse Source

fix helm: s3 allowEmptyFolder flag if (#6204)

Signed-off-by: Lycopene <fqhslycopene@gmail.com>
pull/6206/head
Lycopene 2 months ago
parent
commit
80ca027dde
  1. 2
      k8s/charts/seaweedfs/templates/filer-statefulset.yaml
  2. 2
      k8s/charts/seaweedfs/templates/s3-deployment.yaml

2
k8s/charts/seaweedfs/templates/filer-statefulset.yaml

@ -209,7 +209,7 @@ spec:
-s3.cert.file=/usr/local/share/ca-certificates/client/tls.crt \ -s3.cert.file=/usr/local/share/ca-certificates/client/tls.crt \
-s3.key.file=/usr/local/share/ca-certificates/client/tls.key \ -s3.key.file=/usr/local/share/ca-certificates/client/tls.key \
{{- end }} {{- end }}
{{- if .Values.filer.s3.allowEmptyFolder }}
{{- if eq (typeOf .Values.filer.s3.allowEmptyFolder) "bool" }}
-s3.allowEmptyFolder={{ .Values.filer.s3.allowEmptyFolder }} \ -s3.allowEmptyFolder={{ .Values.filer.s3.allowEmptyFolder }} \
{{- end }} {{- end }}
{{- if .Values.filer.s3.enableAuth }} {{- if .Values.filer.s3.enableAuth }}

2
k8s/charts/seaweedfs/templates/s3-deployment.yaml

@ -134,7 +134,7 @@ spec:
{{- if .Values.s3.domainName }} {{- if .Values.s3.domainName }}
-domainName={{ .Values.s3.domainName }} \ -domainName={{ .Values.s3.domainName }} \
{{- end }} {{- end }}
{{- if .Values.s3.allowEmptyFolder }}
{{- if eq (typeOf .Values.s3.allowEmptyFolder) "bool" }}
-allowEmptyFolder={{ .Values.s3.allowEmptyFolder }} \ -allowEmptyFolder={{ .Values.s3.allowEmptyFolder }} \
{{- end }} {{- end }}
{{- if .Values.s3.enableAuth }} {{- if .Values.s3.enableAuth }}

Loading…
Cancel
Save