-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.example.yaml
61 lines (61 loc) · 998 Bytes
/
config.example.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
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