提交 fdbeb886 作者: 施泽锋

111

上级 da7933eb
{{- $autodeolpyImage:=printf "%s/auto_deploy:1.0.12" .Values.docker_registry}} {{- $autodeolpyImage:=printf "%s/auto_deploy:1.0.12" .Values.docker_registry}}
{{- $dbImage:=printf "%s/mysql:5.7" .Values.docker_registry}} {{- $dbImage:=printf "%s/mysql:5.7.01" .Values.docker_registry}}
{{- $mqSImage:=printf "%s/rabbitmq:3.6.16-management-alpine" .Values.docker_registry}} {{- $mqSImage:=printf "%s/rabbitmq:3.6.16-management-alpine" .Values.docker_registry}}
{{ define "infoenv" }} {{ define "infoenv" }}
- REDIS_HOST=${redis_host} - REDIS_HOST=${redis_host}
...@@ -91,12 +91,13 @@ services: ...@@ -91,12 +91,13 @@ services:
max-file: '3' max-file: '3'
labels: labels:
io.rancher.container.pull_image: always io.rancher.container.pull_image: always
{{- range .Values.txt_test}} auto-test-service:
auto-{{.}}-service:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/redis:4.0.11 image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/redis:4.0.11
environment: environment:
- REDIS_PASSWORD=Wsy123456 {{- range $i, $v := .Values.txt_test}}
- REDIS_PASSWORD={{i}}{{v}}
{{- end}}
stdin_open: true stdin_open: true
tty: true tty: true
logging: logging:
...@@ -104,7 +105,7 @@ services: ...@@ -104,7 +105,7 @@ services:
options: options:
max-size: 100m max-size: 100m
max-file: '3' max-file: '3'
{{- end}}
......
...@@ -94,7 +94,7 @@ catalog: ...@@ -94,7 +94,7 @@ catalog:
- variable: txt_test - variable: txt_test
description: "test" description: "test"
label: "test" label: "test"
type: multiline type: string
default: "shop plat ads_shop" default: "shop plat ads_shop"
services: services:
auto-redis: auto-redis:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论