-
-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathvalues.schema.json
More file actions
512 lines (512 loc) · 15.1 KB
/
Copy pathvalues.schema.json
File metadata and controls
512 lines (512 loc) · 15.1 KB
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
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
{
"$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",
"title": "enabled",
"type": "boolean"
},
"maxReplicas": {
"default": 100,
"description": "Maximum number of replicas",
"title": "maxReplicas",
"type": "integer"
},
"minReplicas": {
"default": 1,
"description": "Minimum number of replicas",
"title": "minReplicas",
"type": "integer"
},
"targetCPUUtilizationPercentage": {
"default": 80,
"description": "Target CPU utilization percentage",
"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": []
},
"title": "extraEnv",
"type": "array"
},
"fullnameOverride": {
"default": "",
"description": "String to fully override `\"kubevirt-cloud-controller-manager.fullname\"`",
"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",
"title": "pullPolicy",
"type": "string"
},
"registry": {
"default": "quay.io",
"description": "image registory",
"title": "registry",
"type": "string"
},
"repository": {
"default": "kubevirt/kubevirt-cloud-controller-manager",
"description": "image repository",
"title": "repository",
"type": "string"
},
"tag": {
"default": "v0.6.0",
"description": "Overrides the image tag",
"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": []
},
"title": "imagePullSecrets",
"type": "array"
},
"kccm": {
"properties": {
"additionalLabels": {
"properties": {
"enabled": {
"default": true,
"description": "Adds additional capi labels to the cloud controller manager resources",
"title": "enabled",
"type": "boolean"
}
},
"required": [
"enabled"
],
"title": "additionalLabels",
"type": "object"
},
"cloudConfig": {
"properties": {
"instancesV2": {
"properties": {
"enabled": {
"default": true,
"description": "Whether to use the instancesV2 API for listing and watching instances. This is required for OpenShift 4.13 and later.",
"title": "enabled",
"type": "boolean"
},
"zoneAndRegionEnabled": {
"default": false,
"description": "Whether to use the zone and region information from the instance metadata. This is required for OpenShift 4.13 and later.",
"title": "zoneAndRegionEnabled",
"type": "boolean"
}
},
"required": [
"enabled",
"zoneAndRegionEnabled"
],
"title": "instancesV2",
"type": "object"
},
"loadBalancer": {
"properties": {
"creationPollInterval": {
"default": 5,
"description": "The interval at which the cloud controller manager polls for the creation of load balancers",
"title": "creationPollInterval",
"type": "integer"
},
"creationPollTimeout": {
"default": 60,
"description": "The timeout for polling for the creation of load balancers",
"title": "creationPollTimeout",
"type": "integer"
}
},
"required": [
"creationPollInterval",
"creationPollTimeout"
],
"title": "loadBalancer",
"type": "object"
}
},
"required": [
"instancesV2",
"loadBalancer"
],
"title": "cloudConfig",
"type": "object"
},
"cluster": {
"properties": {
"kubeconfig": {
"properties": {
"content": {
"properties": {
"cluster": {
"properties": {
"ca": {
"default": "",
"description": "The base64-encoded value of the cluster CA",
"title": "ca",
"type": "string"
},
"server": {
"default": "",
"description": "The address of the CAPI api server in the form https://\u003chost\u003e:\u003cport\u003e",
"title": "server",
"type": "string"
}
},
"required": [
"ca",
"server"
],
"title": "cluster",
"type": "object"
},
"users": {
"properties": {
"cert": {
"default": "",
"description": "The base64-encoded value of the user certificate",
"title": "cert",
"type": "string"
},
"key": {
"default": "",
"description": "The base64-encoded value of the user key",
"title": "key",
"type": "string"
}
},
"required": [
"cert",
"key"
],
"title": "users",
"type": "object"
}
},
"required": [
"cluster",
"users"
],
"title": "content",
"type": "object"
},
"create": {
"default": false,
"description": "create a Secret for the kubeconfig created through the values defined in kccm.cluster.kubeconfig.content.*",
"title": "create",
"type": "boolean"
},
"existingSecret": {
"default": "",
"description": "The name of the secret containing the kubeconfig to access the CAPI cluster. If not set, will default to \"\u003ccluster-name\u003e-kubeconfig\"",
"title": "existingSecret",
"type": "string"
}
},
"required": [
"create",
"content",
"existingSecret"
],
"title": "kubeconfig",
"type": "object"
},
"name": {
"default": "",
"description": "The name of the cluster to which the cloud controller manager belongs. This is used by the cloud controller manager to watch for changes to the cluster object and update its status accordingly.",
"title": "name",
"type": "string"
},
"namespace": {
"default": "",
"description": "The namespace in which the cloud controller manager should watch for changes to the cluster object. If not set, the cloud controller manager will watch for changes to the cluster object in the Release namespace.",
"title": "namespace",
"type": "string"
}
},
"required": [
"kubeconfig",
"name",
"namespace"
],
"title": "cluster",
"type": "object"
},
"deploymentMode": {
"default": "isolated",
"description": "Indicates whether the cloud controller manager is installed outside of the managed cluster (isolated) or inside",
"title": "deploymentMode",
"type": "string"
}
},
"required": [
"additionalLabels",
"cluster",
"cloudConfig",
"deploymentMode"
],
"title": "kccm",
"type": "object"
},
"nameOverride": {
"default": "",
"description": "Provide a name in place of `kubevirt-cloud-controller-manager`",
"title": "nameOverride",
"type": "string"
},
"nodeSelector": {
"description": "Node labels for pod assignment",
"properties": {
"node-role.kubernetes.io/control-plane": {
"default": "",
"title": "node-role.kubernetes.io/control-plane",
"type": "string"
}
},
"required": [
"node-role.kubernetes.io/control-plane"
],
"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",
"title": "replicaCount",
"type": "integer"
},
"resources": {
"description": "Resource limits and requests for the pods.",
"properties": {
"limits": {
"properties": {
"cpu": {
"default": "100m",
"title": "cpu",
"type": "string"
},
"memory": {
"default": "128Mi",
"title": "memory",
"type": "string"
}
},
"required": [
"cpu",
"memory"
],
"title": "limits",
"type": "object"
},
"requests": {
"properties": {
"cpu": {
"default": "100m",
"title": "cpu",
"type": "string"
},
"memory": {
"default": "128Mi",
"title": "memory",
"type": "string"
}
},
"required": [
"cpu",
"memory"
],
"title": "requests",
"type": "object"
}
},
"required": [
"limits",
"requests"
],
"title": "resources",
"type": "object"
},
"revisionHistoryLimit": {
"default": 0,
"description": "The number of old ReplicaSets to retain",
"title": "revisionHistoryLimit",
"type": "integer"
},
"securityContext": {
"description": "container-level security context",
"properties": {
"privileged": {
"default": true,
"title": "privileged",
"type": "boolean"
}
},
"required": [
"privileged"
],
"title": "securityContext",
"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",
"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",
"title": "name",
"type": "string"
}
},
"required": [
"create",
"annotations",
"name"
],
"title": "serviceAccount",
"type": "object"
},
"tolerations": {
"description": "Toleration labels for pod assignment",
"items": {
"anyOf": [
{
"properties": {
"effect": {
"default": "NoSchedule",
"title": "effect",
"type": "string"
},
"key": {
"default": "node.cloudprovider.kubernetes.io/uninitialized",
"title": "key",
"type": "string"
},
"value": {
"default": "true",
"title": "value",
"type": "string"
}
},
"required": [
"key",
"value",
"effect"
],
"type": "object"
},
{
"properties": {
"effect": {
"default": "NoSchedule",
"title": "effect",
"type": "string"
},
"key": {
"default": "node-role.kubernetes.io/control-plane",
"title": "key",
"type": "string"
}
},
"required": [
"key",
"effect"
],
"type": "object"
}
],
"required": []
},
"title": "tolerations",
"type": "array"
}
},
"required": [
"nameOverride",
"fullnameOverride",
"image",
"imagePullSecrets",
"replicaCount",
"revisionHistoryLimit",
"serviceAccount",
"podAnnotations",
"podSecurityContext",
"securityContext",
"resources",
"autoscaling",
"nodeSelector",
"tolerations",
"affinity",
"extraEnv",
"kccm"
],
"type": "object"
}