-
Notifications
You must be signed in to change notification settings - Fork 84
/
values.schema.json
188 lines (188 loc) · 5.12 KB
/
values.schema.json
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
{
"$schema": "https://json-schema.org/draft-07/schema#",
"properties": {
"cockroachdb": {
"description": "Cockroach DB related configuration",
"type": "object",
"properties": {
"image": {
"type": "object",
"properties": {
"repository": {
"type": "string"
},
"tag": {
"type": "string"
}
}
},
"fullnameOverride": {
"description": "Name of the internal statefulset",
"type": "string"
},
"conf": {
"type": "object",
"properties": {
"cluster-name": {
"description": "Name of CockroachDB cluster",
"type": "string"
},
"join": {
"description": "List of already-existing CockroachDB instances. If empty, the chart will automatically discover the internal nodes. If set to join a DSS Region and other DSS instance, please add the addresses of the statefulset's pod as well.",
"type": "array",
"items": {
"type": "string"
}
},
"locality": {
"description": "Locality attribute for this deployment. Example: zone=example",
"type": "string"
}
},
"required": [
"cluster-name",
"locality"
]
},
"statefulset": {
"type": "object",
"properties": {
"args": {
"type": "array",
"description": "Additional argument passed to the statefulset pod command. In the context of the dss deployment it requires the following arguments:\n `--locality-advertise-addr=zone=example@$(hostname -f)`\n`--advertise-addr=${HOSTNAME##*-}.db.example.com`",
"items": {
"type": "string"
},
"additionalItems": true
}
},
"required": [
"args"
]
},
"storage": {
"type": "object",
"properties": {
"persistentVolume": {
"properties": {
"storageClass": {
"description": "Storage class depending on your cloud provider.",
"type": "string"
}
}
}
}
}
},
"required": [
"image",
"fullnameOverride",
"conf",
"statefulset"
]
},
"loadBalancers": {
"description": "Load balancers configuration",
"type": "object",
"properties": {
"cockroachdbNodes": {
"type": "array",
"items": {
"properties": {
"ip": {
"description": "Public ip or cloud resource name.",
"type": "string"
},
"subnet": {
"description": "Optional: Subnet of the public ip for AWS only",
"type": "string"
}
},
"required": [
"ip"
]
}
},
"dssGateway": {
"type": "object",
"properties": {
"ip": {
"description": "Public ip or cloud resource name.",
"type": "string"
},
"subnet": {
"description": "Optional: Subnet of the public ip for AWS only",
"type": "string"
},
"certName": {
"description": "Optional: ARN of the certificate for AWS only",
"type": "string"
},
"sslPolicy": {
"description": "For Google only: If provided, this SSL Policy is applied to the DSS Gateway Ingress",
"type": "string"
}
},
"required": [
"ip"
]
}
}
},
"dss": {
"type": "object",
"properties": {
"image": {
"type": "string"
},
"conf": {
"type": "object",
"properties": {
"pubKeys": {
"type": "array",
"items": {
"type": "string"
}
},
"jwksEndpoint": {
"type": "string"
},
"jwksKeyIds": {
"type": "array",
"items": {
"type": "string"
}
},
"enableScd": {
"type": "boolean"
},
"hostname": {
"type": "string",
"description": "Public hostname of the dss. Example: dss.example.com"
}
},
"required": ["hostname"]
}
},
"required": ["image", "conf"]
},
"global": {
"type": "object",
"properties": {
"cloudProvider": {
"description": "Cloud provider identifier. `aws` or `google`",
"type": "string"
}
},
"required": ["cloudProvider"]
}
},
"required": [
"cockroachdb",
"loadBalancers",
"dss",
"global"
],
"title": "Values",
"type": "object"
}