From 2e51f50c259e3e7be6b69f8f799a2c919a2d768d Mon Sep 17 00:00:00 2001 From: Andrew Azores Date: Wed, 17 Jan 2024 15:01:33 -0500 Subject: [PATCH] add env vars for configuring volume allocation --- cryostat-entrypoint.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cryostat-entrypoint.bash b/cryostat-entrypoint.bash index 204dca8..042db03 100755 --- a/cryostat-entrypoint.bash +++ b/cryostat-entrypoint.bash @@ -49,6 +49,6 @@ createBuckets "${names[@]}" & exec weed -logtostderr=true server \ -dir="${DATA_DIR:-/tmp}" \ - -master.volumePreallocate -volume.max="${VOLUME_MAX:-0}" -master.volumeSizeLimitMB=4096 \ + -master.volumePreallocate="${VOLUME_PREALLOCATE:-true}" -volume.max="${VOLUME_MAX:-0}" -master.volumeSizeLimitMB="${VOLUME_SIZE_LIMIT_MB:-4096}" \ -s3 -s3.config="${cfg}" \ "$@"