From b4f028be5fb85afec212df6102c02729c90ee3ff Mon Sep 17 00:00:00 2001 From: liyang Date: Wed, 17 Dec 2025 11:14:35 +0800 Subject: [PATCH] chore: change etcd endpoints to array in the test scripts (#7419) chore: change etcd endpoint Signed-off-by: liyang --- .github/actions/setup-greptimedb-cluster/action.yml | 2 +- .github/scripts/deploy-greptimedb.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/setup-greptimedb-cluster/action.yml b/.github/actions/setup-greptimedb-cluster/action.yml index 8a19a192bf..759d16d80b 100644 --- a/.github/actions/setup-greptimedb-cluster/action.yml +++ b/.github/actions/setup-greptimedb-cluster/action.yml @@ -51,7 +51,7 @@ runs: run: | helm upgrade \ --install my-greptimedb \ - --set meta.backendStorage.etcd.endpoints=${{ inputs.etcd-endpoints }} \ + --set 'meta.backendStorage.etcd.endpoints[0]=${{ inputs.etcd-endpoints }}' \ --set meta.enableRegionFailover=${{ inputs.enable-region-failover }} \ --set image.registry=${{ inputs.image-registry }} \ --set image.repository=${{ inputs.image-repository }} \ diff --git a/.github/scripts/deploy-greptimedb.sh b/.github/scripts/deploy-greptimedb.sh index 10831f8625..e915a9b708 100755 --- a/.github/scripts/deploy-greptimedb.sh +++ b/.github/scripts/deploy-greptimedb.sh @@ -81,7 +81,7 @@ function deploy_greptimedb_cluster() { --create-namespace \ --set image.tag="$GREPTIMEDB_IMAGE_TAG" \ --set initializer.tag="$GREPTIMEDB_INITIALIZER_IMAGE_TAG" \ - --set meta.backendStorage.etcd.endpoints="etcd.$install_namespace:2379" \ + --set "meta.backendStorage.etcd.endpoints[0]=etcd.$install_namespace.svc.cluster.local:2379" \ --set meta.backendStorage.etcd.storeKeyPrefix="$cluster_name" \ -n "$install_namespace" @@ -119,7 +119,7 @@ function deploy_greptimedb_cluster_with_s3_storage() { --create-namespace \ --set image.tag="$GREPTIMEDB_IMAGE_TAG" \ --set initializer.tag="$GREPTIMEDB_INITIALIZER_IMAGE_TAG" \ - --set meta.backendStorage.etcd.endpoints="etcd.$install_namespace:2379" \ + --set "meta.backendStorage.etcd.endpoints[0]=etcd.$install_namespace.svc.cluster.local:2379" \ --set meta.backendStorage.etcd.storeKeyPrefix="$cluster_name" \ --set objectStorage.s3.bucket="$AWS_CI_TEST_BUCKET" \ --set objectStorage.s3.region="$AWS_REGION" \