-
Notifications
You must be signed in to change notification settings - Fork 0
/
values.schema.json
752 lines (752 loc) · 29.1 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
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
{
"title": "Chart Values",
"type": "object",
"properties": {
"global": {
"type": "object",
"properties": {
"imageRegistry": {
"type": "string",
"description": "Specify the registry that stores the images",
"default": ""
},
"imagePullSecrets": {
"type": "array",
"description": "Specify the credentials as secret names for pulling the images",
"default": [],
"items": {}
}
}
},
"nameOverride": {
"type": "string",
"description": "Provide a prefix to partially override the lib.name in the templates",
"default": ""
},
"fullnameOverride": {
"type": "string",
"description": "Provide a name to override completely the lib.name in the templates",
"default": ""
},
"commonLabels": {
"type": "object",
"description": "Provide a map of key/value pairs of labels to be applied to all resources in the templates",
"default": {}
},
"commonAnnotations": {
"type": "object",
"description": "Provide a map of key/value pairs of annotations to be applied to all resources in the templates",
"default": {}
},
"namespaceOverride": {
"type": "string",
"description": "Provide a name to fully override lib.namespace in the templates",
"default": ""
},
"include": {
"type": "boolean",
"description": "Includes/Excludes the configurations for this application",
"default": true
},
"name": {
"type": "string",
"description": "Application name",
"default": ""
},
"image": {
"type": "object",
"properties": {
"registry": {
"type": "string",
"description": "URL of the container registry",
"default": "docker.io"
},
"repository": {
"type": "string",
"description": "URL of the container repository",
"default": "portainer/portainer-ce"
},
"tag": {
"type": "string",
"description": "Image version",
"default": "2.18.4-alpine"
},
"pullPolicy": {
"type": "string",
"description": "Pull policy of the container image",
"default": "Always"
},
"pullSecrets": {
"type": "array",
"description": "Registry credentials. Specify not the credentials but the corresponding secrets",
"default": [],
"items": {}
}
}
},
"entrypoint": {
"type": "array",
"description": "Provide arguments to the entrypoint of the application.",
"default": [],
"items": {}
},
"customEntrypoint": {
"type": "array",
"description": "Overwrite in full the parameter application.entrypoint.",
"default": [],
"items": {}
},
"args": {
"type": "array",
"description": "Provide arguments to the entrypoint of the application.",
"default": [
"--admin-password='$$2y$$05$$aO9DEethtRMRpmyc4p0Dn.4MUvoJ274844ej9IdUS16kpiu43d6R6'"
],
"items": {
"type": "string"
}
},
"customArgs": {
"type": "array",
"description": "Overwrite in full the parameter application.args.",
"default": [],
"items": {}
},
"serviceAccount": {
"type": "object",
"properties": {
"create": {
"type": "boolean",
"description": "Specify whether to create a service account",
"default": false
},
"name": {
"type": "string",
"description": "Service account name",
"default": ""
},
"automountServiceAccountToken": {
"type": "boolean",
"description": "Specify if the account can mount the access token from the Kubernetes API",
"default": true
},
"labels": {
"type": "object",
"description": "Key/value map of labels",
"default": {}
},
"additionalLabels": {
"type": "object",
"description": "Additional key/value map of labels",
"default": {}
},
"annotations": {
"type": "object",
"description": "Key/value map of annotations",
"default": {}
},
"additionalAnnotations": {
"type": "object",
"description": "Additional key/value map of annotations",
"default": {}
},
"namespacePermissions": {
"type": "array",
"description": "List of permissions to attach to the ServiceAccount within the in use namespace",
"default": [],
"items": {}
},
"additionalNamespacePermissions": {
"type": "array",
"description": "Additional list of permissions to attach to the ServiceAccount within the in use namespace",
"default": [],
"items": {}
},
"clusterPermissions": {
"type": "array",
"description": "List of permissions to attach to the ServiceAccount within the in use Kubernetes cluster",
"default": [],
"items": {}
},
"additionalClusterPermissions": {
"type": "array",
"description": "Additional list of permissions to attach to the ServiceAccount within the in use Kubernetes cluster",
"default": [],
"items": {}
}
}
},
"autoscaling": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enables/disables autoscaling",
"default": false
},
"minReplicas": {
"type": "number",
"description": "Minimum number of pods",
"default": 1
},
"maxReplicas": {
"type": "number",
"description": "Maximum number of pods",
"default": 5
},
"metrics": {
"type": "object",
"properties": {
"targetCPU": {
"type": "string",
"description": "CPU utilization threshold",
"default": ""
},
"targetMemory": {
"type": "string",
"description": "Memory utilization threshold",
"default": ""
}
}
}
}
},
"replicaCount": {
"type": "number",
"description": "Initial number of pods for the application",
"default": 1
},
"minReadySeconds": {
"type": "number",
"description": "Specify the minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available",
"default": 0
},
"progressDeadlineSeconds": {
"type": "number",
"description": "Specify the maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused",
"default": 600
},
"revisionHistoryLimit": {
"type": "number",
"description": "Specify the number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified",
"default": 10
},
"deploymentStrategyType": {
"type": "string",
"description": "Specify the strategy of how to replace existing pods with new ones. Supports: Recreate or RollingUpdate",
"default": "RollingUpdate"
},
"rollingUpdateStrategyConfig": {
"type": "object",
"properties": {
"maxSurge": {
"type": "string",
"description": "Specify the maximum number of pods that can be scheduled above the desired number of pods",
"default": "25%"
},
"maxUnavailable": {
"type": "string",
"description": "Specify the maximum number of pods that can be unavailable during the update",
"default": "25%"
}
}
},
"podLabels": {
"type": "object",
"description": "Specify labels to apply at PodSpec level",
"default": {}
},
"additionalPodLabels": {
"type": "object",
"description": "Additional labels to apply at PodSpec level",
"default": {}
},
"podAnnotations": {
"type": "object",
"description": "Specify annotations to apply at PodSpec level",
"default": {}
},
"additionalPodAnnotations": {
"type": "object",
"description": "Additional annotations to apply at PodSpec level",
"default": {}
},
"resources": {
"type": "object",
"properties": {
"requests": {
"type": "object",
"properties": {
"cpu": {
"type": "string",
"description": "Max CPU available for a pod (resource request)",
"default": "2000m"
},
"memory": {
"type": "string",
"description": "Max memory available for a pod (resource request)",
"default": "2048Mi"
}
}
},
"limits": {
"type": "object",
"properties": {
"cpu": {
"type": "string",
"description": "Min CPU available for a pod (resource limit)",
"default": "2000m"
},
"memory": {
"type": "string",
"description": "Min memory available for a pod (resource limit)",
"default": "2048Mi"
}
}
}
}
},
"service": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Service name",
"default": ""
},
"additionalPorts": {
"type": "array",
"description": "Additional service ports",
"default": [],
"items": {}
},
"type": {
"type": "string",
"description": "Service type. Valid values are: ClusterIP, NodePort, LoadBalancer",
"default": ""
},
"annotations": {
"type": "object",
"description": "Service annotations",
"default": {}
},
"additionalAnnotations": {
"type": "object",
"description": "Additional service annotations",
"default": {}
},
"labels": {
"type": "object",
"description": "Service labels",
"default": {}
},
"additionalLabels": {
"type": "object",
"description": "Additional service labels",
"default": {}
}
}
},
"podSecurityContext": {
"type": "object",
"properties": {
"fsGroup": {
"type": "number",
"description": "Group ID that has access to the filesystem at run-time",
"default": 10001
}
}
},
"containerSecurityContext": {
"type": "object",
"properties": {
"runAsUser": {
"type": "number",
"description": "ID of the user who runs the process",
"default": 10001
},
"runAsNonRoot": {
"type": "boolean",
"description": "Specify if the process can run under the root user",
"default": true
},
"allowPrivilegeEscalation": {
"type": "boolean",
"description": "Specify if the process can get more permissions at run-time",
"default": false
},
"readOnlyRootFilesystem": {
"type": "boolean",
"description": "Specify if the root filesystem of the process is read-only",
"default": true
}
}
},
"customContainerSecurityContext": {
"type": "object",
"description": "Overwrite partially the application.containerSecurityContext property",
"default": {}
},
"livenessProbe": {
"type": "object",
"properties": {
"httpGet": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "Application side HTTP URI that outlines how it performs",
"default": "/"
},
"port": {
"type": "string",
"description": "Application port that is open for probing type of requests",
"default": "http"
}
}
},
"initialDelaySeconds": {
"type": "number",
"description": "Specify the waiting time for kubelet before it launches the first probe",
"default": 30
},
"periodSeconds": {
"type": "number",
"description": "Specify the time interval kubelet can launch the probe",
"default": 15
},
"timeoutSeconds": {
"type": "number",
"description": "Specify the timeout kubelet can wait before signaling if a probe fails",
"default": 10
},
"successThreshold": {
"type": "number",
"description": "Specify how many requests kubelet needs to probe to mark the livenessProbe as success",
"default": 1
},
"failureThreshold": {
"type": "number",
"description": "Specify how many requests kubelet needs to probe to mark the livenessProbe as failure",
"default": 3
}
}
},
"customLivenessProbe": {
"type": "object",
"description": "Overwrite partially the application.livenessProbe property",
"default": {}
},
"readinessProbe": {
"type": "object",
"properties": {
"httpGet": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "Application side HTTP URI that outlines if it is ready",
"default": "/"
},
"port": {
"type": "string",
"description": "Application port that is open for probing type of requests",
"default": "http"
}
}
},
"initialDelaySeconds": {
"type": "number",
"description": "Specify the waiting time for kubelet before it launches the first probe",
"default": 30
},
"periodSeconds": {
"type": "number",
"description": "Specify the time interval kubelet can launch the probe",
"default": 15
},
"timeoutSeconds": {
"type": "number",
"description": "Specify the timeout kubelet can wait before signaling if a probe fails",
"default": 10
},
"successThreshold": {
"type": "number",
"description": "Specify how many requests kubelet needs to probe to mark the readinessProbe as success",
"default": 1
},
"failureThreshold": {
"type": "number",
"description": "Specify how many requests kubelet needs to probe to mark the readinessProbe as failure",
"default": 3
}
}
},
"customReadinessProbe": {
"type": "object",
"description": "Overwrite partially the application.readinessProbe property",
"default": {}
},
"startupProbe": {
"type": "object",
"properties": {
"httpGet": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "Application side HTTP URI that outlines if it is started",
"default": "/"
},
"port": {
"type": "string",
"description": "Application port that is open for probing type of requests",
"default": "http"
}
}
},
"initialDelaySeconds": {
"type": "number",
"description": "Specify the waiting time for kubelet before it launches the first probe",
"default": 30
},
"periodSeconds": {
"type": "number",
"description": "Specify the time interval kubelet can launch the probe",
"default": 15
},
"timeoutSeconds": {
"type": "number",
"description": "Specify the timeout kubelet can wait before signaling if a probe fails",
"default": 10
},
"successThreshold": {
"type": "number",
"description": "Specify how many requests kubelet needs to probe to mark the startupProbe as success",
"default": 1
},
"failureThreshold": {
"type": "number",
"description": "Specify how many requests kubelet needs to probe to mark the startupProbe as failure",
"default": 3
}
}
},
"customStartupProbe": {
"type": "object",
"description": "Overwrite partially the application.startupProbe property",
"default": {}
},
"customAffinity": {
"type": "object",
"description": "Overwrite in full the default affinity rules",
"default": {}
},
"nodeName": {
"type": "string",
"description": "Specify the NodeName where to schedule a pod. Leave empty for auto scheduling decision",
"default": ""
},
"nodeSelector": {
"type": "object",
"description": "Specify the selector which must be true for the pod to fit on a node",
"default": {}
},
"ingress": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enables/disables Ingress for routing inbound traffic",
"default": true
},
"name": {
"type": "string",
"description": "Ingress name",
"default": ""
},
"pathType": {
"type": "string",
"description": "Ingress path type",
"default": "ImplementationSpecific"
},
"hostname": {
"type": "string",
"description": "Ingress hostname",
"default": "containers.app"
},
"tls": {
"type": "boolean",
"description": "Enables/disables TLS for the hostname",
"default": false
},
"alternateDnsNames": {
"type": "array",
"description": "Specify whether to add a list of alternative DNS names to the self-signed certificate",
"default": [],
"items": {}
},
"certValidityDuration": {
"type": "string",
"description": "Specify how many days the self-signed certificate should remain valid",
"default": ""
},
"path": {
"type": "string",
"description": "Ingress path array",
"default": "/"
},
"additionalPaths": {
"type": "array",
"description": "Ingress extra paths",
"default": [],
"items": {}
},
"additionalTLS": {
"type": "array",
"description": "Additional TLS configuration",
"default": [],
"items": {}
},
"secret": {
"type": "string",
"description": "Name of the external secret for $parent.hostname",
"default": ""
},
"ingressClassName": {
"type": "string",
"description": "IngressClass name",
"default": ""
},
"additionalRules": {
"type": "array",
"description": "Additional Ingress rules",
"default": [],
"items": {}
},
"backendService": {
"type": "object",
"properties": {
"portName": {
"type": "string",
"description": "Specify the application port name of the backend service",
"default": "http"
}
}
},
"annotations": {
"type": "object",
"description": "Key/value map with annotations",
"default": {}
},
"additionalAnnotations": {
"type": "object",
"description": "Additional key/value map with annotations",
"default": {}
},
"labels": {
"type": "object",
"description": "Key/value map with labels",
"default": {}
},
"additionalLabels": {
"type": "object",
"description": "Additional key/value map with labels",
"default": {}
}
}
},
"additionalVolumes": {
"type": "array",
"description": "Specify additional mutual exclusive with application.volumes value named volumes to be attached to the main container and pod",
"default": [],
"items": {}
},
"sidecars": {
"type": "array",
"description": "Specify containers to run alongside the main container",
"default": [],
"items": {}
},
"additionalSidecars": {
"type": "array",
"description": "Specify additional containers to run alongside the main container",
"default": [],
"items": {}
},
"initContainers": {
"type": "array",
"description": "Specify a list of initialization containers belonging to the pod",
"default": [],
"items": {}
},
"additionalInitContainers": {
"type": "array",
"description": "Specify a list of additional initialization containers belonging to the pod",
"default": [],
"items": {}
},
"config": {
"type": "string",
"description": "Overwrites the configuration in application.defaultConfig.config",
"default": ""
},
"defaultConfig": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Specify the default application configuration file name",
"default": ""
},
"mountPath": {
"type": "string",
"description": "Specify the default application configuration file system path where the file is located",
"default": ""
},
"config": {
"type": "string",
"description": "Specify the default application configuration",
"default": ""
},
"customValues": {
"type": "object",
"description": "Specify a map of custom values to be referenced by the application.defaultConfig.config parameter",
"default": {}
}
}
},
"envs": {
"type": "object",
"description": "Environment variables",
"default": {}
},
"additionalEnvs": {
"type": "object",
"description": "Additional environment variables",
"default": {}
},
"internalEnvSecret": {
"type": "string",
"description": "Specify the internal secret name that contains system environment variables",
"default": ""
},
"externalEnvSecret": {
"type": "string",
"description": "Specify the external secret name that contains system environment variables",
"default": ""
},
"kubernetesYamlResources": {
"type": "array",
"description": "Kubernetes objects to add to the application package",
"default": [],
"items": {}
},
"additionalKubernetesYamlResources": {
"type": "array",
"description": "Add additional Kubernetes objects to add to the application package",
"default": [],
"items": {}
}
}
}