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
fix issue where is always interpreted as true
Max Robyad9fef7a5210
diff --git a/k8s/charts/seaweedfs/templates/_helpers.tpl b/k8s/charts/seaweedfs/templates/_helpers.tplindex 712657474a..611a2b4ef6 100644--- a/k8s/charts/seaweedfs/templates/_helpers.tpl+++ b/k8s/charts/seaweedfs/templates/_helpers.tpl@@ -118,7 +118,7 @@ Inject extra environment vars in the format key:value, if populated{{- if or (or (eq .Values.volume.data.type "persistentVolumeClaim") (and (eq .Values.volume.idx.type "persistentVolumeClaim") .Values.volume.dir_idx )) (eq .Values.volume.logs.type "persistentVolumeClaim") -}}{{- printf "true" -}}{{- else -}}-{{- printf "false" -}}+{{- printf "" -}}{{- end -}}{{- end -}}@@ -130,7 +130,7 @@ Inject extra environment vars in the format key:value, if populated{{- if or .Values.global.enableSecurity .Values.volume.extraVolumes -}}{{- printf "true" -}}{{- else -}}-{{- printf "false" -}}+{{- printf "" -}}{{- end -}}{{- end -}}{{- end -}}@@ -140,7 +140,7 @@ Inject extra environment vars in the format key:value, if populated{{- if or (eq .Values.filer.data.type "persistentVolumeClaim") (eq .Values.filer.logs.type "persistentVolumeClaim") -}}{{- printf "true" -}}{{- else -}}-{{- printf "false" -}}+{{- printf "" -}}{{- end -}}{{- end -}}@@ -149,7 +149,7 @@ Inject extra environment vars in the format key:value, if populated{{- if or (eq .Values.filer.data.type "hostPath") (eq .Values.filer.logs.type "hostPath") -}}{{- printf "true" -}}{{- else -}}-{{- printf "false" -}}+{{- printf "" -}}{{- end -}}{{- end -}}@@ -158,7 +158,7 @@ Inject extra environment vars in the format key:value, if populated{{- if or (eq .Values.master.data.type "persistentVolumeClaim") (eq .Values.master.logs.type "persistentVolumeClaim") -}}{{- printf "true" -}}{{- else -}}-{{- printf "false" -}}+{{- printf "" -}}{{- end -}}{{- end -}}@@ -170,7 +170,7 @@ Inject extra environment vars in the format key:value, if populated{{- if or .Values.global.enableSecurity .Values.volume.extraVolumes -}}{{- printf "true" -}}{{- else -}}-{{- printf "false" -}}+{{- printf "" -}}{{- end -}}{{- end -}}{{- end -}}@@ -180,7 +180,7 @@ Inject extra environment vars in the format key:value, if populated{{- if or (not (empty .Values.volume.dir_idx )) (not (empty .Values.volume.initContainers )) -}}{{- printf "true" -}}{{- else -}}-{{- printf "false" -}}+{{- printf "" -}}{{- end -}}{{- end -}}