Browse Source

fix yamllint errors

pull/5048/head
jessebot 1 year ago
committed by Chris Lu
parent
commit
f4cafc1dbc
  1. 4
      k8s/charts/seaweedfs/templates/filer-statefulset.yaml
  2. 2
      k8s/charts/seaweedfs/templates/s3-deployment.yaml

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

@ -117,11 +117,11 @@ spec:
- name: {{ $key }} - name: {{ $key }}
valueFrom: {{ toYaml $value | nindent 16 }} valueFrom: {{ toYaml $value | nindent 16 }}
{{- end }} {{- end }}
{{- end }}
{{- end }}
command: command:
- "/bin/sh" - "/bin/sh"
- "-ec" - "-ec"
- |
- |
exec /usr/bin/weed \ exec /usr/bin/weed \
{{- if eq .Values.filer.logs.type "hostPath" }} {{- if eq .Values.filer.logs.type "hostPath" }}
-logdir=/logs \ -logdir=/logs \

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

@ -78,7 +78,7 @@ spec:
command: command:
- "/bin/sh" - "/bin/sh"
- "-ec" - "-ec"
- |
- |
exec /usr/bin/weed \ exec /usr/bin/weed \
{{- if eq .Values.s3.logs.type "hostPath" }} {{- if eq .Values.s3.logs.type "hostPath" }}
-logdir=/logs \ -logdir=/logs \

Loading…
Cancel
Save