-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathvalues.schema.json
357 lines (357 loc) · 9.57 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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"affinity": {
"description": "Affinity settings for pod assignment",
"required": [],
"title": "affinity",
"type": "object"
},
"autoscaling": {
"properties": {
"enabled": {
"default": false,
"description": "Enable Horizontal POD autoscaling",
"required": [],
"title": "enabled",
"type": "boolean"
},
"maxReplicas": {
"default": 100,
"description": "Maximum number of replicas",
"required": [],
"title": "maxReplicas",
"type": "integer"
},
"minReplicas": {
"default": 1,
"description": "Minimum number of replicas",
"required": [],
"title": "minReplicas",
"type": "integer"
},
"targetCPUUtilizationPercentage": {
"default": 80,
"description": "Target CPU utilization percentage",
"required": [],
"title": "targetCPUUtilizationPercentage",
"type": "integer"
}
},
"required": [
"enabled",
"minReplicas",
"maxReplicas",
"targetCPUUtilizationPercentage"
],
"title": "autoscaling",
"type": "object"
},
"extraEnv": {
"description": "additional environment variables to be added to the pods",
"items": {
"required": []
},
"required": [],
"title": "extraEnv",
"type": "array"
},
"fullnameOverride": {
"default": "",
"description": "String to fully override `\"cluster-api-visualizer.fullname\"`",
"required": [],
"title": "fullnameOverride",
"type": "string"
},
"global": {
"description": "Global values are values that can be accessed from any chart or subchart by exactly the same name.",
"required": [],
"title": "global",
"type": "object"
},
"image": {
"properties": {
"pullPolicy": {
"default": "Always",
"description": "image pull policy",
"required": [],
"title": "pullPolicy",
"type": "string"
},
"registry": {
"default": "ghcr.io",
"description": "image registry",
"required": [],
"title": "registry",
"type": "string"
},
"repository": {
"default": "jont828/cluster-api-visualizer",
"description": "image repository",
"required": [],
"title": "repository",
"type": "string"
},
"tag": {
"default": "v1.4.1",
"description": "Overrides the image tag",
"required": [],
"title": "tag",
"type": "string"
}
},
"required": [
"registry",
"repository",
"pullPolicy",
"tag"
],
"title": "image",
"type": "object"
},
"imagePullSecrets": {
"description": "If defined, uses a Secret to pull an image from a private Docker registry or repository.",
"items": {
"required": []
},
"required": [],
"title": "imagePullSecrets",
"type": "array"
},
"ingress": {
"properties": {
"annotations": {
"description": "Additional annotations for the Ingress resource",
"required": [],
"title": "annotations",
"type": "object"
},
"className": {
"default": "",
"description": "IngressClass that will be be used to implement the Ingress",
"required": [],
"title": "className",
"type": "string"
},
"enabled": {
"default": false,
"description": "Enable ingress record generation",
"required": [],
"title": "enabled",
"type": "boolean"
},
"hosts": {
"description": "kubernetes.io/ingress.class: nginx\nkubernetes.io/tls-acme: \"true\"\nAn array with the hosts configuration",
"items": {
"anyOf": [
{
"properties": {
"host": {
"default": "chart-example.local",
"required": [],
"title": "host",
"type": "string"
},
"paths": {
"items": {
"anyOf": [
{
"properties": {
"path": {
"default": "/",
"required": [],
"title": "path",
"type": "string"
},
"pathType": {
"default": "ImplementationSpecific",
"required": [],
"title": "pathType",
"type": "string"
}
},
"required": [
"path",
"pathType"
],
"type": "object"
}
],
"required": []
},
"required": [],
"title": "paths",
"type": "array"
}
},
"required": [
"host",
"paths"
],
"type": "object"
}
],
"required": []
},
"required": [],
"title": "hosts",
"type": "array"
},
"tls": {
"description": "An array with the tls configuration",
"items": {
"required": []
},
"required": [],
"title": "tls",
"type": "array"
}
},
"required": [
"enabled",
"className",
"annotations",
"hosts",
"tls"
],
"title": "ingress",
"type": "object"
},
"nameOverride": {
"default": "",
"description": "Provide a name in place of `cluster-api-visualizer`",
"required": [],
"title": "nameOverride",
"type": "string"
},
"nodeSelector": {
"description": "Node labels for pod assignment",
"required": [],
"title": "nodeSelector",
"type": "object"
},
"podAnnotations": {
"description": "Annotations to be added to exporter pods",
"required": [],
"title": "podAnnotations",
"type": "object"
},
"podSecurityContext": {
"description": "pod-level security context",
"required": [],
"title": "podSecurityContext",
"type": "object"
},
"replicaCount": {
"default": 1,
"description": "Number of replicas",
"required": [],
"title": "replicaCount",
"type": "integer"
},
"resources": {
"description": "Resource limits and requests for the pods.",
"required": [],
"title": "resources",
"type": "object"
},
"revisionHistoryLimit": {
"default": 0,
"description": "The number of old ReplicaSets to retain",
"required": [],
"title": "revisionHistoryLimit",
"type": "integer"
},
"securityContext": {
"description": "container-level security context",
"required": [],
"title": "securityContext",
"type": "object"
},
"service": {
"properties": {
"port": {
"default": 80,
"description": "Kubernetes port where service is exposed",
"required": [],
"title": "port",
"type": "integer"
},
"type": {
"default": "ClusterIP",
"description": "Kubernetes service type",
"required": [],
"title": "type",
"type": "string"
}
},
"required": [
"type",
"port"
],
"title": "service",
"type": "object"
},
"serviceAccount": {
"properties": {
"annotations": {
"description": "Annotations to add to the service account",
"required": [],
"title": "annotations",
"type": "object"
},
"create": {
"default": true,
"description": "Specifies whether a service account should be created",
"required": [],
"title": "create",
"type": "boolean"
},
"name": {
"default": "",
"description": "The name of the service account to use.\nIf not set and create is true, a name is generated using the fullname template",
"required": [],
"title": "name",
"type": "string"
}
},
"required": [
"create",
"annotations",
"name"
],
"title": "serviceAccount",
"type": "object"
},
"tolerations": {
"description": "Toleration labels for pod assignment",
"items": {
"required": []
},
"required": [],
"title": "tolerations",
"type": "array"
}
},
"required": [
"nameOverride",
"fullnameOverride",
"image",
"imagePullSecrets",
"replicaCount",
"revisionHistoryLimit",
"serviceAccount",
"podAnnotations",
"podSecurityContext",
"securityContext",
"service",
"ingress",
"resources",
"autoscaling",
"nodeSelector",
"tolerations",
"affinity",
"extraEnv"
],
"type": "object"
}