diff --git a/.github/scripts/deploy-greptimedb.sh b/.github/scripts/deploy-greptimedb.sh index fca21993b4..10831f8625 100755 --- a/.github/scripts/deploy-greptimedb.sh +++ b/.github/scripts/deploy-greptimedb.sh @@ -7,6 +7,8 @@ KUBERNETES_VERSION="${KUBERNETES_VERSION:-v1.32.0}" ENABLE_STANDALONE_MODE="${ENABLE_STANDALONE_MODE:-true}" DEFAULT_INSTALL_NAMESPACE=${DEFAULT_INSTALL_NAMESPACE:-default} GREPTIMEDB_IMAGE_TAG=${GREPTIMEDB_IMAGE_TAG:-latest} +GREPTIMEDB_OPERATOR_IMAGE_TAG=${GREPTIMEDB_OPERATOR_IMAGE_TAG:-v0.5.1} +GREPTIMEDB_INITIALIZER_IMAGE_TAG="${GREPTIMEDB_OPERATOR_IMAGE_TAG}" GREPTIME_CHART="https://greptimeteam.github.io/helm-charts/" ETCD_CHART="oci://registry-1.docker.io/bitnamicharts/etcd" ETCD_CHART_VERSION="${ETCD_CHART_VERSION:-12.0.8}" @@ -58,7 +60,7 @@ function deploy_greptimedb_operator() { # Use the latest chart and image. helm upgrade --install greptimedb-operator greptime/greptimedb-operator \ --create-namespace \ - --set image.tag=latest \ + --set image.tag="$GREPTIMEDB_OPERATOR_IMAGE_TAG" \ -n "$DEFAULT_INSTALL_NAMESPACE" # Wait for greptimedb-operator to be ready. @@ -78,6 +80,7 @@ function deploy_greptimedb_cluster() { helm upgrade --install "$cluster_name" greptime/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.storeKeyPrefix="$cluster_name" \ -n "$install_namespace" @@ -115,6 +118,7 @@ function deploy_greptimedb_cluster_with_s3_storage() { helm upgrade --install "$cluster_name" greptime/greptimedb-cluster -n "$install_namespace" \ --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.storeKeyPrefix="$cluster_name" \ --set objectStorage.s3.bucket="$AWS_CI_TEST_BUCKET" \