From f4cafc1dbc75df986334bf5a8b4a9e79853bf654 Mon Sep 17 00:00:00 2001 From: jessebot Date: Tue, 21 Nov 2023 13:17:14 +0100 Subject: [PATCH] fix yamllint errors --- k8s/charts/seaweedfs/templates/filer-statefulset.yaml | 4 ++-- k8s/charts/seaweedfs/templates/s3-deployment.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 \