Commit 16a4c227 by 李二毛

Merge branch 'development' into 'rel/major'

优化脚本

See merge request liermao/microservice-autodevopspipelines!57
parents 47689927 ab534710
Pipeline #4196 canceled with stages
in 2 minutes 25 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