forked from PrefectHQ/prefect-helm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalues.schema.json
627 lines (627 loc) · 21 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
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
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
{
"$schema": "http://json-schema.org/schema#",
"type": "object",
"additionalProperties": true,
"properties": {
"nameOverride": {
"type": "string",
"title": "Name Override",
"description": "partially overrides common.names.name"
},
"fullnameOverride": {
"type": "string",
"title": "Fullname Override",
"description": "fully override common.names.fullname"
},
"namespaceOverride": {
"type": "string",
"title": "Namespace Override",
"description": "fully override common.names.namespace"
},
"commonLabels": {
"type": "object",
"title": "Common Labels",
"description": "labels to add to all deployed objects"
},
"commonAnnotations": {
"type": "object",
"title": "Common Annotations",
"description": "annotations to add to all deployed objects"
},
"server": {
"type": "object",
"title": "Server",
"description": "server configuration",
"additionalProperties": false,
"properties": {
"image": {
"type": "object",
"title": "Image",
"description": "server image configuration",
"properties": {
"repository": {
"type": "string",
"title": "Repository",
"description": "server image repository"
},
"prefectTag": {
"type": "string",
"title": "Tag",
"description": "server image tag"
},
"pullPolicy": {
"type": "string",
"title": "Pull Policy",
"description": "server image pull policy"
},
"pullSecrets": {
"type": "array",
"title": "Pull Secrets",
"description": "server image pull secrets",
"items": {
"type": "string"
}
}
}
},
"priorityClassName": {
"type": "string",
"title": "Priority Class Name",
"description": "priority class name to use for the server pods; if the priority class is empty or doesn't exist, the server pods are scheduled without a priority class"
},
"debug": {
"type": "boolean",
"title": "Debug",
"description": "server debug mode"
},
"loggingLevel": {
"type": "string",
"title": "Logging Level",
"description": "sets PREFECT_LOGGING_SERVER_LEVEL"
},
"prefectApiUrl": {
"type": "string",
"title": "Prefect API URL",
"description": "sets PREFECT_API_URL"
},
"prefectApiHost": {
"type": "string",
"title": "Prefect API Host",
"description": "sets PREFECT_SERVER_API_HOST"
},
"uiConfig": {
"type": "object",
"title": "UI Config",
"description": "Prefect UI Config",
"properties": {
"enabled": {
"type": "boolean",
"title": "Enable Prefect UI",
"description": "set PREFECT_UI_ENABLED; enable the UI on the server"
},
"prefectUiApiUrl": {
"type": "string",
"title": "Prefect API URL",
"description": "sets PREFECT_UI_API_URL"
},
"prefectUiUrl": {
"type": "string",
"title": "Prefect UI URL",
"description": "sets PREFECT_UI_URL"
}
}
},
"env": {
"type": "array",
"title": "Environment Variables",
"description": "array with environment variables to add to server nodes",
"items": {
"type": "object"
}
},
"autoscaling": {
"type": "object",
"title": "Autoscaling",
"description": "server autoscaling configuration",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean",
"title": "Enabled",
"description": "enable server autoscaling"
},
"minReplicas": {
"type": "integer",
"title": "Min Replicas",
"description": "minimum number of server replicas"
},
"maxReplicas": {
"type": "integer",
"title": "Max Replicas",
"description": "maximum number of server replicas"
},
"targetCPU": {
"type": "integer",
"title": "Target CPU Utilization Percentage",
"description": "target CPU utilization percentage"
},
"targetMemory": {
"type": "integer",
"title": "Target Memory Utilization Percentage",
"description": "target Memory utilization percentage"
}
}
},
"replicaCount": {
"type": "integer",
"title": "Replica Count",
"description": "number of server replicas to deploy"
},
"resources": {
"type": "object",
"title": "Resources",
"description": "server resource requests and limits",
"additionalProperties": false,
"properties": {
"requests": {
"type": "object",
"title": "Requests",
"description": "server resource requests",
"additionalProperties": false,
"properties": {
"cpu": {
"type": "string",
"title": "CPU",
"description": "server CPU request"
},
"memory": {
"type": "string",
"title": "Memory",
"description": "server memory request"
}
}
},
"limits": {
"type": "object",
"title": "Limits",
"description": "server resource limits",
"additionalProperties": false,
"properties": {
"cpu": {
"type": "string",
"title": "CPU",
"description": "server CPU limit"
},
"memory": {
"type": "string",
"title": "Memory",
"description": "server memory limit"
}
}
}
}
},
"livenessProbe": {
"type": "object",
"title": "Liveness Probe",
"description": "server liveness probe configuration",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean",
"title": "Enabled",
"description": "enable server liveness probe"
},
"config": {
"type": "object",
"title": "Liveness Probe",
"description": "server liveness probe configuration",
"additionalProperties": false,
"properties": {
"initialDelaySeconds": {
"type": "integer",
"title": "Initial Delay Seconds",
"description": "The number of seconds to wait before starting the first probe."
},
"periodSeconds": {
"type": "integer",
"title": "Period Seconds",
"description": "The number of seconds to wait between consecutive probes."
},
"timeoutSeconds": {
"type": "integer",
"title": "Timeout Seconds",
"description": "The number of seconds to wait for a probe response before considering it as failed."
},
"successThreshold": {
"type": "integer",
"title": "Success Threshold",
"description": "The number of consecutive failures allowed before considering the probe as failed."
},
"failureThreshold": {
"type": "integer",
"title": "Failure Threshold",
"description": "The minimum consecutive successes required to consider the probe successful."
}
}
}
}
},
"readinessProbe": {
"type": "object",
"title": "Readiness Probe",
"description": "server readiness probe configuration",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean",
"title": "Enabled",
"description": "enable server readiness probe"
},
"config": {
"type": "object",
"title": "Readiness Probe",
"description": "server readiness probe configuration",
"additionalProperties": false,
"properties": {
"initialDelaySeconds": {
"type": "integer",
"title": "Initial Delay Seconds",
"description": "The number of seconds to wait before starting the first probe."
},
"periodSeconds": {
"type": "integer",
"title": "Period Seconds",
"description": "The number of seconds to wait between consecutive probes."
},
"timeoutSeconds": {
"type": "integer",
"title": "Timeout Seconds",
"description": "The number of seconds to wait for a probe response before considering it as failed."
},
"successThreshold": {
"type": "integer",
"title": "Success Threshold",
"description": "The number of consecutive failures allowed before considering the probe as failed."
},
"failureThreshold": {
"type": "integer",
"title": "Failure Threshold",
"description": "The minimum consecutive successes required to consider the probe successful."
}
}
}
}
},
"podSecurityContext": {
"type": "object",
"title": "Pod Security Context",
"description": "server pod security context",
"additionalProperties": false,
"properties": {
"runAsUser": {
"type": "integer",
"title": "Run As User",
"description": "set server pod's security context runAsUser"
},
"runAsNonRoot": {
"type": "boolean",
"title": "Run As Non Root",
"description": "set server pods security context runAsNonRoot"
},
"fsGroup": {
"type": "integer",
"title": "FS Group",
"description": "set server pod's security context fsGroup"
}
}
},
"containerSecurityContext": {
"type": "object",
"title": "Container Security Context",
"description": "server container security context",
"additionalProperties": false,
"properties": {
"runAsUser": {
"type": "integer",
"title": "Run As User",
"description": "set server container's security context runAsUser"
},
"runAsNonRoot": {
"type": "boolean",
"title": "Run As Non Root",
"description": "set server container's security context runAsNonRoot"
},
"readOnlyRootFilesystem": {
"type": "boolean",
"title": "Read Only Root Filesystem",
"description": "set server container's security context readOnlyRootFilesystem"
},
"allowPrivilegeEscalation": {
"type": "boolean",
"title": "Allow Privilege Escalation",
"description": "set server container's security context allowPrivilegeEscalation"
},
"capabilities": {
"type": "object",
"title": "Configure Linux capabilities",
"description": "set server container's security context capabilities",
"properties": {
"add": {
"type": "array",
"title": "Added capabilities",
"description": "set server container's security context capabilities to add",
"items": {
"type": "string"
}
},
"drop": {
"type": "array",
"title": "Removed capabilities",
"description": "set server container's security context capabilities to remove",
"items": {
"type": "string"
}
}
}
}
}
},
"podLabels": {
"type": "object",
"title": "Pod Labels",
"description": "extra labels for server pod"
},
"podAnnotations": {
"type": "object",
"title": "Pod Annotations",
"description": "extra annotations for server pod"
},
"affinity": {
"type": "object",
"title": "Affinity",
"description": "affinity for server pods assignment"
},
"nodeSelector": {
"type": "object",
"title": "Node Selector",
"description": "node labels for server pods assignment"
},
"tolerations": {
"type": "array",
"title": "Tolerations",
"description": "tolerations for server pods assignment",
"items": {
"type": "object"
}
},
"extraEnvVarsCM": {
"type": "string",
"title": "Extra Env Vars ConfigMap",
"description": "name of existing ConfigMap containing extra env vars to add to server nodes"
},
"extraEnvVarsSecret": {
"type": "string",
"title": "Extra Env Vars Secret",
"description": "name of existing Secret containing extra env vars to add to server nodes"
},
"extraContainers": {
"type": "array",
"title": "Extra Containers",
"description": "additional sidecar containers",
"items": {
"type": "object"
}
},
"extraVolumes": {
"type": "array",
"title": "Extra Volumes",
"description": "array with extra volumes for the server pod",
"items": {
"type": "object"
}
},
"extraVolumeMounts": {
"type": "array",
"title": "Extra Volume Mounts",
"description": "array with extra volumeMounts for the server pod",
"items": {
"type": "object"
}
},
"extraArgs": {
"type": "array",
"title": "Extra Container Args",
"description": "array with extra args for the server container"
}
}
},
"serviceAccount": {
"type": "object",
"title": "Service Account",
"description": "server service account configuration",
"additionalProperties": false,
"properties": {
"create": {
"type": "boolean",
"title": "Create",
"description": "create server service account"
},
"name": {
"type": "string",
"title": "Name",
"description": "the name of the ServiceAccount to use. if not set and create is true, a name is generated using the common.names.fullname template"
},
"annotations": {
"type": "object",
"title": "Annotations",
"description": "annotations to add to the server service account"
}
}
},
"service": {
"type": "object",
"title": "Service",
"description": "server service configuration",
"additionalProperties": false,
"properties": {
"type": {
"type": "string",
"title": "Type",
"description": "service type"
},
"port": {
"type": "integer",
"title": "Port",
"description": "service port"
},
"extraPorts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"port": {
"type": "integer"
},
"targetPort": {
"type": "integer"
}
},
"required": ["name", "port", "targetPort"]
}
},
"clusterIP": {
"type": "string",
"title": "Cluster IP",
"description": "service Cluster IP"
},
"nodePort": {
"type": ["integer","string"],
"title": "Node Port",
"description": "service port if defining service as type nodeport"
},
"targetPort": {
"type": "integer",
"title": "Target Port",
"description": "target port on the server pod"
},
"externalTrafficPolicy": {
"type": "string",
"title": "External Traffic Policy",
"description": "service external traffic policy"
},
"annotations": {
"type": "object",
"title": "Annotations",
"description": "annotations to add to the server service"
}
}
},
"ingress": {
"type": "object",
"title": "Ingress",
"description": "server ingress configuration",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean",
"title": "Enabled",
"description": "enable ingress record generation for server"
},
"servicePort": {
"type": "string",
"title": "Service Port Name",
"description": "service port name"
},
"className": {
"type": "string",
"title": "Class Name",
"description": "IngressClass that will be used to implement the Ingress (Kubernetes 1.18+)"
},
"host": {
"type": "object",
"title": "Host",
"description": "server ingress host configuration",
"additionalProperties": false,
"properties": {
"hostname": {
"type": "string",
"title": "Hostname",
"description": "default host for the ingress record"
},
"path": {
"type": "string",
"title": "Path",
"description": "default path for the ingress record"
},
"pathType": {
"type": "string",
"title": "Path Type",
"description": "ingress path type"
}
}
},
"annotations": {
"type": "object",
"title": "Annotations",
"description": "additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations."
},
"tls": {
"type": "boolean",
"title": "TLS",
"description": "enable TLS configuration for the host defined at `ingress.host.hostname` parameter"
},
"selfSigned": {
"type": "boolean",
"title": "Self Signed",
"description": "create a TLS secret for this ingress record using self-signed certificates generated by Helm"
},
"extraHosts": {
"type": "array",
"title": "Extra Hosts",
"description": "an array with additional hostname(s) to be covered with the ingress record",
"items": {
"type": "object"
}
},
"extraPaths": {
"type": "array",
"title": "Extra Paths",
"description": "an array with additional arbitrary paths that may need to be added to the ingress under the main host",
"items": {
"type": "object"
}
},
"extraTls": {
"type": "array",
"title": "Extra TLS",
"description": "an array with additional tls configuration to be added to the ingress record",
"items": {
"type": "object"
}
},
"extraRules": {
"type": "array",
"title": "Extra Rules",
"description": "additional rules to be covered with this ingress record",
"items": {
"type": "object"
}
}
}
},
"common": {
"type": "object",
"title": "Common",
"description": "common configuration. Not set by user but required as common vars are passed to all manifests."
},
"global": {
"type": "object",
"title": "Global",
"description": "global configuration. Not set by user but required when prefect is referenced as a downstream Chart"
}
}
}