From 137d742517e981123c14c6dab2a5cc74005bfe86 Mon Sep 17 00:00:00 2001 From: Geapefurit <670884108@qq.com> Date: Wed, 22 Nov 2023 14:07:09 +0800 Subject: [PATCH] support set domain --- cloud-proxy/script/deploy-to-k8s-cluster.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud-proxy/script/deploy-to-k8s-cluster.sh b/cloud-proxy/script/deploy-to-k8s-cluster.sh index 1e80163b..49836dc2 100755 --- a/cloud-proxy/script/deploy-to-k8s-cluster.sh +++ b/cloud-proxy/script/deploy-to-k8s-cluster.sh @@ -48,7 +48,7 @@ service_name=$( echo "Deploy docker image for $PLATFORM -- $version" sed -i "s/$service_name:latest/$service_name:$version/g" $PROJECT_FOLDER/cmd/$service_name/k8s/02-$service_name.yaml -sed -i "s/uhub\.service\.ucloud\.cn/$DOCKER_REGISTRY/g" cmd/$service_name/k8s/02-$service_name.yaml +sed -i "s/uhub\.service\.ucloud\.cn/$DOCKER_REGISTRY/g" $PROJECT_FOLDER/cmd/$service_name/k8s/02-$service_name.yaml sed -i "s/web3eye\.webui\.io/$CLOUD_ROOT_DOMAIN/g" $PROJECT_FOLDER/cmd/$service_name/k8s/03-ingress.yaml sed -i "s/web3eye-webui-io/$CLOUD_CERT_NAME/g" $PROJECT_FOLDER/cmd/$service_name/k8s/03-ingress.yaml