Commit ab534710 by 据说甜蜜呢

优化脚本

parent b90e2f19
Pipeline #4195 passed with stage
in 23 seconds
......@@ -15,10 +15,7 @@ kubectl create namespace ${namespace}
# global variable
GetAccessToken AccessToken
GetRegistryHost RegistryHost
GetK8sApiServer K8sApiServer
GetKongApiServer KongApiServer
GetKongRouteDomain KongRouteDomain
for servicePrefix in `ls ./src/Services|xargs -d '/'`
do
......
......@@ -63,6 +63,9 @@ function createRoute()
GetMajor major
GetNameSpace namespace
GetKongApiServer KongApiServer
GetKongRouteDomain KongRouteDomain
declare fdnOfK8s="${namespace}.svc.cluster.local"
declare kongServiceBaseUrl="${KongApiServer}/services"
declare kongRouteBaseUrl="${KongApiServer}/routes"
......
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