Commit e3229592 authored by 温海元's avatar 温海元

add saas

parent 4ec0b087
......@@ -28,12 +28,12 @@ if [[ ${#dubboPort} == 5 ]];then
echo "export DUBBO_PORT_TO_REGISTRY=$dubboPort" >> ~/.bashrc
fi
# 给saas测试
# if [[ $SYSTEM_NAME == 'nebula-goods' ]];then
# lanIp=`curl -s "http://holmes-fe.liangkebang.net/k8s/podIp\?namespace\=saastob\&serviceName\=nebula-goods"`
# export DUBBO_IP_TO_REGISTRY=172.17.5.42
# echo "export DUBBO_IP_TO_REGISTRY=172.17.5.42" >> ~/.bashrc
# fi
#给saas测试
if [[ $SYSTEM_NAME == 'nebula-goods' ]];then
lanIp=`curl -s "http://holmes-fe.liangkebang.net/k8s/podIp?namespace=saastob&serviceName=nebula-goods"`
export DUBBO_IP_TO_REGISTRY=lanIp
echo "export DUBBO_IP_TO_REGISTRY=172.17.5.42" >> ~/.bashrc
fi
#OLD_IFS="$IFS"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment