SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
remove collectionPattern if is empty string / null
LazyDBA247-Anyvisionb373c1de93ab
diff --git a/k8s/seaweedfs/templates/cronjob.yaml b/k8s/seaweedfs/templates/cronjob.yamlindex 4caf4bad11..c7dcd52b15 100644--- a/k8s/seaweedfs/templates/cronjob.yaml+++ b/k8s/seaweedfs/templates/cronjob.yaml@@ -40,7 +40,7 @@ spec:{{ if .Values.volume.dataCenter }} -dataCenter {{ .Values.volume.dataCenter }}{{ end }}\{{ if .Values.cronjob.collection }} -collection {{ .Values.cronjob.collection }}{{ end }}\n\{{- if .Values.cronjob.enableFixReplication }}- volume.fix.replication -collectionPattern={{ .Values.cronjob.collectionPattern }} \n\+ volume.fix.replication {{ if .Values.cronjob.collectionPattern }} -collectionPattern={{ .Values.cronjob.collectionPattern }} {{ end }} \n\{{- end }}unlock\n" | \/usr/bin/weed shell \