-
-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathvalues.schema.json
More file actions
513 lines (513 loc) · 16.4 KB
/
Copy pathvalues.schema.json
File metadata and controls
513 lines (513 loc) · 16.4 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
513
{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"affinity": {
"description": "Affinity settings for pod assignment",
"required": [],
"title": "affinity",
"type": "object"
},
"defrag": {
"properties": {
"config": {
"properties": {
"auth": {
"properties": {
"enabled": {
"default": false,
"description": "use username and password for authentication against etcd",
"title": "enabled",
"type": "boolean"
},
"existingSecret": {
"default": "",
"description": "Name of existing secret to use for authentication credentials. Key needs to be called `etcd-password`.",
"title": "existingSecret",
"type": "string"
},
"password": {
"default": "",
"description": "password for authentication",
"title": "password",
"type": "string"
},
"user": {
"default": "",
"description": "username for authentication",
"title": "user",
"type": "string"
}
},
"required": [
"enabled",
"existingSecret",
"password",
"user"
],
"title": "auth",
"type": "object"
},
"clusterWide": {
"default": true,
"description": "Run defragment operations for all endpoints in the cluster associated with the default endpoint.",
"title": "clusterWide",
"type": "boolean"
},
"commandTimeout": {
"default": "",
"description": "timeout for short running command (excluding dial timeout)",
"title": "commandTimeout",
"type": "string"
},
"debug": {
"default": false,
"description": "enable client-side debug logging",
"title": "debug",
"type": "boolean"
},
"dialTimeout": {
"default": "",
"description": "dial timeout for client connections",
"title": "dialTimeout",
"type": "string"
},
"endpoints": {
"description": "gRPC endpoints",
"items": {
"required": []
},
"title": "endpoints",
"type": "array"
},
"insecureSkipTlsVerify": {
"default": false,
"description": "skip server certificate verification",
"title": "insecureSkipTlsVerify",
"type": "boolean"
},
"insecureTransport": {
"default": true,
"description": "disable transport security for client connections",
"title": "insecureTransport",
"type": "boolean"
},
"pki": {
"properties": {
"ca": {
"default": "",
"description": "certificate authority used for the etcd certificates",
"title": "ca",
"type": "string"
},
"cert": {
"default": "",
"description": "identify secure client using this TLS certificate",
"title": "cert",
"type": "string"
},
"existingSecret": {
"default": "",
"description": "Name of existing secret with certificates. Keys needs to be called `ca`, `cert` and `key`.",
"title": "existingSecret",
"type": "string"
},
"hostAccess": {
"properties": {
"caFilePath": {
"default": "/etc/kubernetes/pki/etcd/ca.crt",
"description": "file on host containing the certificate authority",
"title": "caFilePath",
"type": "string"
},
"certFilePath": {
"default": "/etc/kubernetes/pki/etcd/server.crt",
"description": "file on host containing the server certificate",
"title": "certFilePath",
"type": "string"
},
"enabled": {
"default": false,
"description": "get certificates directly from host where the Pod is running",
"title": "enabled",
"type": "boolean"
},
"keyFilePath": {
"default": "/etc/kubernetes/pki/etcd/server.key",
"description": "file on host containing the server private key",
"title": "keyFilePath",
"type": "string"
}
},
"required": [
"enabled",
"caFilePath",
"certFilePath",
"keyFilePath"
],
"title": "hostAccess",
"type": "object"
},
"key": {
"default": "",
"description": "identify secure client using this TLS key",
"title": "key",
"type": "string"
}
},
"required": [
"ca",
"cert",
"existingSecret",
"hostAccess",
"key"
],
"title": "pki",
"type": "object"
},
"writeOut": {
"default": "table",
"description": "set the output format: `fields`, `json`, `protobuf`, `simple`, `table`)",
"title": "writeOut",
"type": "string"
}
},
"required": [
"auth",
"clusterWide",
"commandTimeout",
"debug",
"dialTimeout",
"endpoints",
"insecureSkipTlsVerify",
"insecureTransport",
"pki",
"writeOut"
],
"title": "config",
"type": "object"
},
"cronjob": {
"properties": {
"concurrencyPolicy": {
"default": "Forbid",
"description": "Specifies how to treat concurrent executions of a Job. Valid values are: `Allow`, `Forbid` and `Replace`.",
"title": "concurrencyPolicy",
"type": "string"
},
"failedJobsHistoryLimit": {
"default": "1",
"description": "The number of failed finished jobs to retain.",
"title": "failedJobsHistoryLimit",
"type": "string"
},
"schedule": {
"default": "0 */1 * * *",
"description": "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.",
"title": "schedule",
"type": "string"
},
"startingDeadlineSeconds": {
"default": "30",
"description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.",
"title": "startingDeadlineSeconds",
"type": "string"
},
"successfulJobsHistoryLimit": {
"default": "3",
"description": "The number of successful finished jobs to retain.",
"title": "successfulJobsHistoryLimit",
"type": "string"
},
"suspend": {
"default": false,
"description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions.",
"title": "suspend",
"type": "boolean"
}
},
"required": [
"concurrencyPolicy",
"failedJobsHistoryLimit",
"schedule",
"startingDeadlineSeconds",
"successfulJobsHistoryLimit",
"suspend"
],
"title": "cronjob",
"type": "object"
},
"enabled": {
"default": true,
"description": "create a CronJob for defragmentation",
"title": "enabled",
"type": "boolean"
},
"job": {
"properties": {
"activeDeadlineSeconds": {
"default": "",
"description": "Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it.",
"title": "activeDeadlineSeconds",
"type": "string"
},
"backoffLimit": {
"default": "",
"description": "Specifies the number of retries before marking this job failed.",
"title": "backoffLimit",
"type": "string"
},
"completionMode": {
"default": "",
"description": "CompletionMode specifies how Pod completions are tracked. It can be: `NonIndexed` or `Indexed`.",
"title": "completionMode",
"type": "string"
},
"completions": {
"default": "",
"description": "Specifies the desired number of successfully finished pods the job should be run with.",
"title": "completions",
"type": "string"
},
"parallelism": {
"default": "",
"description": "Specifies the maximum desired number of pods the job should run at any given time.",
"title": "parallelism",
"type": "string"
},
"podFailurePolicy": {
"default": "",
"description": "Specifies the policy of handling failed pods.",
"title": "podFailurePolicy",
"type": "string"
},
"suspend": {
"default": false,
"description": "Suspend specifies whether the Job controller should create Pods or not.",
"title": "suspend",
"type": "boolean"
},
"ttlSecondsAfterFinished": {
"default": "",
"description": "limits the lifetime of a Job that has finished execution",
"title": "ttlSecondsAfterFinished",
"type": "string"
}
},
"required": [
"activeDeadlineSeconds",
"backoffLimit",
"completionMode",
"completions",
"parallelism",
"podFailurePolicy",
"suspend",
"ttlSecondsAfterFinished"
],
"title": "job",
"type": "object"
},
"pod": {
"properties": {
"restartPolicy": {
"default": "OnFailure",
"description": "Restart policy for all containers within the pod. One of `Always`, `OnFailure`, `Never`.",
"title": "restartPolicy",
"type": "string"
}
},
"required": [
"restartPolicy"
],
"title": "pod",
"type": "object"
}
},
"required": [
"enabled",
"config",
"cronjob",
"job",
"pod"
],
"title": "defrag",
"type": "object"
},
"extraEnv": {
"description": "additional environment variables to be added to the pods",
"items": {
"required": []
},
"title": "extraEnv",
"type": "array"
},
"extraVolumeMounts": {
"description": "additional volume mounts to be added to the pods",
"items": {
"required": []
},
"required": [],
"title": "extraVolumeMounts"
},
"extraVolumes": {
"description": "additional volumes to be added to the pods",
"items": {
"required": []
},
"required": [],
"title": "extraVolumes"
},
"fullnameOverride": {
"default": "",
"description": "String to fully override `\"etcd-defrag.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"
},
"hostNetwork": {
"default": false,
"description": "specify if the CronJob should run on the hostNetwork",
"title": "hostNetwork",
"type": "boolean"
},
"image": {
"properties": {
"pullPolicy": {
"default": "Always",
"description": "image pull policy",
"title": "pullPolicy",
"type": "string"
},
"registry": {
"default": "quay.io",
"description": "image registry",
"title": "registry",
"type": "string"
},
"repository": {
"default": "coreos/etcd",
"description": "image repository",
"title": "repository",
"type": "string"
},
"tag": {
"default": "v3.7.1",
"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"
},
"nameOverride": {
"default": "",
"description": "Provide a name in place of `etcd-defrag`",
"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"
},
"podSecurityContext": {
"description": "pod-level security context",
"required": [],
"title": "podSecurityContext",
"type": "object"
},
"resources": {
"description": "Resource limits and requests for the controller pods.",
"required": [],
"title": "resources",
"type": "object"
},
"securityContext": {
"description": "container-level security context",
"required": [],
"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": {
"required": []
},
"title": "tolerations",
"type": "array"
}
},
"required": [
"nameOverride",
"fullnameOverride",
"image",
"imagePullSecrets",
"podSecurityContext",
"resources",
"securityContext",
"serviceAccount",
"tolerations",
"affinity",
"extraEnv",
"hostNetwork",
"defrag"
],
"type": "object"
}