1 Star 0 Fork 0

mss-boot-io / cd-template

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
config.example.yaml 998 Bytes
一键复制 编辑 原始数据 按行查看 历史
lwnmengjing 提交于 2023-06-18 11:42 . :sparkles:feat: support mount secret (#4)
app: cd
service: deploy
namespace: beta
project: cd-template
version: v1
replicas: 1
testReplicas: 2
serviceAccount: false
command:
- test
- "1234"
args:
- "1"
- "2"
- "3"
image:
path: test
tag: latest
ports:
- port: 8000
targetPort: 8000
name: http
- port: 9000
targetPort: 9000
name: grpc
metrics:
scrape: true
# path: /metrics
# port: 8000
importEnvNames:
- stage
- other
config:
- name: deploy-config
path: workdir/config
data:
config1.yaml: |
dafjlkdjaskfjdklasjfkldasj
asdfkasjdfklajsd
asdfasdfa
secret:
- name: secret-config
path: workdir/secret
- name: secret-config2
path: workdir/secret2
envName: secret2
key: key2
storages:
- name: chainide-projects
path: /app/projects
workloadType: statefulset
hpa: true
containers:
- name: demo
image: demo:v1
ports:
- containerPort: 8888
hostIp: 0.0.0.0
hostPort: 8888
name: demo
protocol: TCP
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/mss-boot-io/cd-template.git
git@gitee.com:mss-boot-io/cd-template.git
mss-boot-io
cd-template
cd-template
main

搜索帮助

344bd9b3 5694891 D2dac590 5694891