diff --git a/devops/PipeLines/Creation/003_ReleaseMajor.sh b/devops/PipeLines/Creation/003_ReleaseMajor.sh index b402ff5..0e60310 100644 --- a/devops/PipeLines/Creation/003_ReleaseMajor.sh +++ b/devops/PipeLines/Creation/003_ReleaseMajor.sh @@ -30,7 +30,7 @@ GetReplicas replicas GetImageUserName registryUserName ToLower ${Environment} environment -helm install --debug --dry-run /root/AutoDevOpsPipeLinesCharts \ +helm install /root/AutoDevOpsPipeLinesCharts \ --name=${releaseName} \ --set environment.upper=${Environment} \ --set environment.lower=${environment} \ diff --git a/k8s/helm/AutoDevOpsPipeLinesCharts/light.md b/k8s/helm/AutoDevOpsPipeLinesCharts/light.md index db19364..5438657 100644 --- a/k8s/helm/AutoDevOpsPipeLinesCharts/light.md +++ b/k8s/helm/AutoDevOpsPipeLinesCharts/light.md @@ -5,24 +5,27 @@ helm create AutoDevOpsPipeLinesCharts ## 渲染模板(调试) ```shell helm install --debug --dry-run /root/AutoDevOpsPipeLinesCharts \ ---set environment.upper=Production \ ---set environment.lower=production \ ---set namespace=geekbuying-light-v2 \ ---set image.version=2.0.0 +--set environment.upper=Staging \ +--set environment.lower=staging \ +--set image.registryhost=registry.geekbuying.com:8100 \ +--set image.username=devopspipelines \ +--set namespace=microservice-autodevopspipeline-v0 \ +--set image.version=0.0.1 \ +--set replicas=1 ``` ## 发布版本 ```shell helm install /root/AutoDevOpsPipeLinesCharts \ ---name=geekbuying-light-v2 \ ---set environment.upper=Production \ ---set environment.lower=production \ ---set namespace=geekbuying-light-v3 \ ---set image.version=2.0.0 +--set environment.upper=Staging \ +--set environment.lower=staging \ +--set image.registryhost=registry.geekbuying.com:8100 \ +--set image.username=devopspipelines \ +--set namespace=microservice-autodevopspipeline-v0 \ +--set image.version=0.0.1 \ +--set replicas=1 ``` - - ## 检视发布 helm get manifest [release name]