diff --git a/k8s/charts/seaweedfs/templates/filer-statefulset.yaml b/k8s/charts/seaweedfs/templates/filer-statefulset.yaml index 5e4b41b18..1b316ca60 100644 --- a/k8s/charts/seaweedfs/templates/filer-statefulset.yaml +++ b/k8s/charts/seaweedfs/templates/filer-statefulset.yaml @@ -117,11 +117,11 @@ spec: - name: {{ $key }} valueFrom: {{ toYaml $value | nindent 16 }} {{- end }} - {{- end }} + {{- end }} command: - "/bin/sh" - "-ec" - - | + - | exec /usr/bin/weed \ {{- if eq .Values.filer.logs.type "hostPath" }} -logdir=/logs \ diff --git a/k8s/charts/seaweedfs/templates/s3-deployment.yaml b/k8s/charts/seaweedfs/templates/s3-deployment.yaml index 18da6b606..c08873fa5 100644 --- a/k8s/charts/seaweedfs/templates/s3-deployment.yaml +++ b/k8s/charts/seaweedfs/templates/s3-deployment.yaml @@ -78,7 +78,7 @@ spec: command: - "/bin/sh" - "-ec" - - | + - | exec /usr/bin/weed \ {{- if eq .Values.s3.logs.type "hostPath" }} -logdir=/logs \