fix yamllint errors

This commit is contained in:
jessebot
2023-11-21 13:17:14 +01:00
committed by Chris Lu
parent c50b6387f6
commit f4cafc1dbc
2 changed files with 3 additions and 3 deletions

View File

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

View File

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