aboutsummaryrefslogtreecommitdiff
path: root/test/s3/iam
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2025-12-08 23:21:02 -0800
committerGitHub <noreply@github.com>2025-12-08 23:21:02 -0800
commitd5f21fd8ba6ee20c2504455093a9ceeaa178b826 (patch)
tree6caa7b2cac8f47f5c64d40a6d41924de53481e32 /test/s3/iam
parentcea12ba3c4df7b54027aa550043ca347bf3f3be4 (diff)
downloadseaweedfs-d5f21fd8ba6ee20c2504455093a9ceeaa178b826.tar.xz
seaweedfs-d5f21fd8ba6ee20c2504455093a9ceeaa178b826.zip
fix: add missing backslash for volume extraArgs in helm chart (#7676)
Fixes #7467 The -mserver argument line in volume-statefulset.yaml was missing a trailing backslash, which prevented extraArgs from being passed to the weed volume process. Also: - Extracted master server list generation logic into shared helper templates in _helpers.tpl for better maintainability - Updated all occurrences of deprecated -mserver flag to -master across docker-compose files, test files, and documentation
Diffstat (limited to 'test/s3/iam')
-rw-r--r--test/s3/iam/Makefile2
-rw-r--r--test/s3/iam/docker-compose.test.yml2
-rw-r--r--test/s3/iam/docker-compose.yml2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/s3/iam/Makefile b/test/s3/iam/Makefile
index b3fa9d37b..7a3f8f950 100644
--- a/test/s3/iam/Makefile
+++ b/test/s3/iam/Makefile
@@ -75,7 +75,7 @@ start-services: ## Start SeaweedFS services for testing
-dataCenter=dc1 -rack=rack1 \
-dir=test-volume-data \
-max=100 \
- -mserver=localhost:$(MASTER_PORT) > weed-volume.log 2>&1 & \
+ -master=localhost:$(MASTER_PORT) > weed-volume.log 2>&1 & \
echo $$! > $(VOLUME_PID_FILE)
@echo "Waiting for volume server to be ready..."
diff --git a/test/s3/iam/docker-compose.test.yml b/test/s3/iam/docker-compose.test.yml
index bb229cfc3..9a46ef365 100644
--- a/test/s3/iam/docker-compose.test.yml
+++ b/test/s3/iam/docker-compose.test.yml
@@ -21,7 +21,7 @@ services:
seaweedfs-volume:
image: chrislusf/seaweedfs:latest
container_name: seaweedfs-volume-test
- command: volume -dir=/data -port=8083 -mserver=seaweedfs-master:9333
+ command: volume -dir=/data -port=8083 -master=seaweedfs-master:9333
ports:
- "8083:8083"
volumes:
diff --git a/test/s3/iam/docker-compose.yml b/test/s3/iam/docker-compose.yml
index fd3e3039f..ad4d08278 100644
--- a/test/s3/iam/docker-compose.yml
+++ b/test/s3/iam/docker-compose.yml
@@ -51,7 +51,7 @@ services:
ports:
- "8083:8083"
- "18083:18083"
- command: "volume -ip=weed-volume -port=8083 -dir=/data -mserver=weed-master:9333 -dataCenter=dc1 -rack=rack1"
+ command: "volume -ip=weed-volume -port=8083 -dir=/data -master=weed-master:9333 -dataCenter=dc1 -rack=rack1"
volumes:
- volume-data:/data
networks: