mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
add filter Pattern only if configured
This commit is contained in:
parent
7ba75e3d5a
commit
9d6b6a4aea
|
@ -40,7 +40,7 @@ spec:
|
||||||
{{ if .Values.volume.dataCenter }} -dataCenter {{ .Values.volume.dataCenter }}{{ end }}\
|
{{ if .Values.volume.dataCenter }} -dataCenter {{ .Values.volume.dataCenter }}{{ end }}\
|
||||||
{{ if .Values.cronjob.collection }} -collection {{ .Values.cronjob.collection }}{{ end }}\n\
|
{{ if .Values.cronjob.collection }} -collection {{ .Values.cronjob.collection }}{{ end }}\n\
|
||||||
{{- if .Values.cronjob.enableFixReplication }}
|
{{- if .Values.cronjob.enableFixReplication }}
|
||||||
volume.fix.replication {{ if .Values.cronjob.collectionPattern }} -collectionPattern={{ .Values.cronjob.collectionPattern }} {{ end }} \n\
|
volume.fix.replication -collectionPattern={{ .Values.cronjob.collectionPattern }} \n\
|
||||||
{{- end }}
|
{{- end }}
|
||||||
unlock\n" | \
|
unlock\n" | \
|
||||||
/usr/bin/weed shell \
|
/usr/bin/weed shell \
|
||||||
|
|
Loading…
Reference in a new issue