Commit d1539004 by 据说甜蜜呢

修改参数

parent e3229783
Pipeline #4173 passed with stage
in 14 seconds
...@@ -5,24 +5,27 @@ helm create AutoDevOpsPipeLinesCharts ...@@ -5,24 +5,27 @@ helm create AutoDevOpsPipeLinesCharts
## 渲染模板(调试) ## 渲染模板(调试)
```shell ```shell
helm install --debug --dry-run /root/AutoDevOpsPipeLinesCharts \ helm install --debug --dry-run /root/AutoDevOpsPipeLinesCharts \
--set environment.upper=Production \ --set environment.upper=Staging \
--set environment.lower=production \ --set environment.lower=staging \
--set namespace=geekbuying-light-v2 \ --set image.registryhost=registry.geekbuying.com:8100 \
--set image.version=2.0.0 --set image.username=devopspipelines \
--set namespace=microservice-autodevopspipeline-v0 \
--set image.version=0.0.1 \
--set replicas=1
``` ```
## 发布版本 ## 发布版本
```shell ```shell
helm install /root/AutoDevOpsPipeLinesCharts \ helm install /root/AutoDevOpsPipeLinesCharts \
--name=geekbuying-light-v2 \ --set environment.upper=Staging \
--set environment.upper=Production \ --set environment.lower=staging \
--set environment.lower=production \ --set image.registryhost=registry.geekbuying.com:8100 \
--set namespace=geekbuying-light-v3 \ --set image.username=devopspipelines \
--set image.version=2.0.0 --set namespace=microservice-autodevopspipeline-v0 \
--set image.version=0.0.1 \
--set replicas=1
``` ```
## 检视发布 ## 检视发布
helm get manifest [release name] helm get manifest [release name]
......
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