Merge branch 'development' into 'rel/major'

修改方法GetNameSpace

See merge request liermao/microservice-autodevopspipelines!39
2 jobs from rel/major in 17 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #7709
build
build_job

00:15

 
  Staging Release Major
failed #7710
staging
staging-major_job

00:01

 
Staging Release Major staging-major_job
$ export RegistryHost='registry.geekbuying.com:8100'
$ export Environment='Staging'
$ export K8sApiServer='https://172.24.83.222:6443'
$ bash ./devops/PipeLines/Creation/002_CreateConfig.sh

Begin creating MicroService.AutoDevOpsPipeLine's settings to the configmap of k8s...
error: exactly one NAME is required, got 0
See 'kubectl create namespace -h' for help and examples.
ERROR: Job failed: exit status 1