-
Notifications
You must be signed in to change notification settings - Fork 523
/
Copy pathschema.json
1368 lines (1366 loc) · 43.1 KB
/
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
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"containerExtraSpecs":{
"type": "object",
"title": "containerExtraSpecs",
"description": "Define container extra specs here"
},
"ContainerPort": {
"type": "array",
"description": "defines ports on which application services will be exposed to other services",
"title": "Container Port",
"items": {
"type": "object",
"properties": {
"envoyPort": {
"type": [
"integer",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "envoy port for the container",
"title": "Envoy Port"
},
"idleTimeout": {
"type": "string",
"description": "duration of time for which a connection is idle before the connection is terminated",
"title": "Idle Timeout"
},
"name": {
"type": "string",
"description": "name of the port",
"title": "Name"
},
"port": {
"type": [
"integer",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "Port",
"title": "port for the container"
},
"servicePort": {
"type": [
"integer",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "port of the corresponding kubernetes service",
"title": "Service Port"
},
"nodePort": {
"type": [
"integer",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "nodeport of the corresponding kubernetes service",
"title": "Node Port"
},
"supportStreaming": {
"type": [
"boolean",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "field to enable/disable timeout for high performance protocols like grpc",
"title": "Support Streaming"
},
"useHTTP2": {
"type": [
"boolean",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": " field for setting if envoy container can accept(or not) HTTP2 requests",
"title": "Use HTTP2"
}
}
}
},
"EnvVariables": {
"type": "array",
"items": {},
"description": "contains environment variables needed by the containers",
"title": "Environment Variables"
},
"EnvVariablesFromFieldPath":{
"type": "array",
"description": "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs",
"title": "EnvVariablesFromFieldPath",
"items": [
{
"type": "object",
"properties": {
"name":{
"type": "string",
"title": "name",
"description": "Env variable name to be"
},
"fieldPath":{
"type": "string",
"title": "fieldPath",
"description": "Path of the field to select in the specified API version"
}
}
}
]
},
"EnvVariablesFromSecretKeys": {
"type": "array",
"description": "Selects a field of the deployment: It is use to get the name of Environment Variable name, Secret name and the Key name from which we are using the value in that corresponding Environment Variable.",
"title": "EnvVariablesFromSecretKeys",
"items": [
{
"type": "object",
"properties": {
"name": {
"type": "string",
"title": "name",
"description": "Env variable name to be used."
},
"secretName": {
"type": "string",
"title": "secretName",
"description": "Name of Secret from which we are taking the value."
},
"keyName": {
"type": "string",
"title": "keyName",
"description": "Name of The Key Where the value is mapped with."
}
}
}
]
},
"EnvVariablesFromConfigMapKeys": {
"type": "array",
"description": "Selects a field of the deployment: It is use to get the name of Environment Variable name, Config Map name and the Key name from which we are using the value in that corresponding Environment Variable.",
"title": "EnvVariablesFromConfigMapKeys",
"items": [
{
"type": "object",
"properties": {
"name": {
"type": "string",
"title": "name",
"description": "Env variable name to be used."
},
"configMapName": {
"type": "string",
"title": "configMapName",
"description": "Name of configMap from which we are taking the value."
},
"keyName": {
"type": "string",
"title": "keyName",
"description": "Name of The Key Where the value is mapped with."
}
}
}
]
},
"GracePeriod": {
"type": [
"integer",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "time for which Kubernetes waits before terminating the pods",
"title": "Grace Period"
},
"LivenessProbe": {
"type": "object",
"description": "used by the kubelet to know when to restart a container",
"title": "Liveness Probe",
"properties": {
"Path": {
"type": "string",
"description": "defines the path where the liveness needs to be checked",
"title": "Path"
},
"command": {
"type": "array",
"items": {},
"description": "commands executed to perform a probe",
"title": "Command"
},
"failureThreshold": {
"type": [
"integer",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "defines the maximum number of failures that are acceptable before a given container is not considered as live",
"title": "Failure Threshold"
},
"httpHeaders": {
"type": "array",
"items": {},
"description": "used to override the default headers by defining .httpHeaders for the probe",
"title": "HTTP headers"
},
"initialDelaySeconds": {
"type": [
"integer",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "defines the time to wait before a given container is checked for liveness",
"title": "Initial Delay Seconds"
},
"periodSeconds": {
"type": [
"integer",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "defines the time to check a given container for liveness",
"title": "Period Seconds"
},
"port": {
"type": [
"integer",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "port to access on the container",
"title": "Port"
},
"scheme": {
"type": "string",
"description": "Scheme to use for connecting to the host (HTTP or HTTPS). Defaults to HTTP.",
"title": "Scheme"
},
"successThreshold": {
"type": [
"integer",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "defines the number of successes required before a given container is said to fulfil the liveness probe",
"title": "Success Threshold"
},
"tcp": {
"type": [
"boolean",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "If enabled, the kubelet will attempt to open a socket to container. If connection is established, the container is considered healthy",
"title": "TCP"
},
"timeoutSeconds": {
"type": [
"integer",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "defines the time for checking timeout",
"title": "Timeout Seconds"
}
}
},
"MaxSurge": {
"type": [
"integer",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "maximum number of pods that can be created over the desired number of pods",
"title": "Maximum Surge"
},
"MaxUnavailable": {
"type": [
"integer",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "maximum number of pods that can be unavailable during the update process",
"title": "Maximum Unavailable"
},
"MinReadySeconds": {
"type": [
"integer",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "minimum number of seconds for which a newly created Pod should be ready without any of its containers crashing, for it to be considered available",
"title": "Minimum Ready Seconds"
},
"ReadinessProbe": {
"type": "object",
"description": "kubelet uses readiness probes to know when a container is ready to start accepting traffic",
"title": "Readiness Probe",
"properties": {
"Path": {
"type": "string",
"description": "defines the path where the readiness needs to be checked",
"title": "Path"
},
"command": {
"type": "array",
"items": {},
"description": "commands executed to perform a probe",
"title": "Command"
},
"failureThreshold": {
"type": [
"integer",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "defines the maximum number of failures that are acceptable before a given container is not considered as ready",
"title": "Failure Threshold"
},
"httpHeader": {
"type": "array",
"items": {},
"description": "used to override the default headers by defining .httpHeaders for the probe",
"title": "HTTP headers"
},
"initialDelaySeconds": {
"type": [
"integer",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "defines the time to wait before a given container is checked for readiness",
"title": "Initial Delay Seconds"
},
"periodSeconds": {
"type": [
"integer",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "defines the time to check a given container for readiness",
"title": "Period Seconds"
},
"port": {
"type": [
"integer",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "port to access on the container",
"title": "Port"
},
"scheme": {
"type": "string",
"description": "Scheme to use for connecting to the host (HTTP or HTTPS). Defaults to HTTP.",
"title": "Scheme"
},
"successThreshold": {
"type": [
"integer",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "defines the number of successes required before a given container is said to fulfil the readiness probe",
"title": "Success Threshold"
},
"tcp": {
"type": [
"boolean",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "If enabled, the kubelet will attempt to open a socket to container. If connection is established, the container is considered healthy",
"title": "TCP"
},
"timeoutSeconds": {
"type": [
"integer",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "defines the time for checking timeout",
"title": "Timeout Seconds"
}
}
},
"networkPolicy": {
"type": "object",
"description": "NetworkPolicy describes what network traffic is allowed for a set of Pods",
"title": "Network Policy",
"properties": {
"enabled":{
"type":"boolean",
"description": "used to enable or disable NetworkPolicy"
},
"annotations":{
"type": "object",
"description": "Annotations for NetworkPolicy"
},
"labels":{
"type":"object",
"description": "Labels for NetworkPolicy"
},
"podSelector":{
"type": "object",
"description": "Selects the pods to which this NetworkPolicy object applies",
"properties": {
"matchExpressions":{
"type":"array",
"description": "list of label selector"
},
"matchLabels":{
"type":"object",
"description": "map of {key,value} pairs"
}
}
},
"policyTypes":{
"type":"array",
"description": "List of rule types that the NetworkPolicy relates to. Valid options are Ingress,Egress."
},
"ingress":{
"type":"array",
"description": "List of ingress rules to be applied to the selected pods"
},
"egress":{
"type":"array",
"description": "List of egress rules to be applied to the selected pods"
}
}
},
"istio": {
"type": "object",
"description": "Istio Service mesh",
"title": "Istio"
},
"flaggerCanary":{
"type": "object",
"description": "Flagger for canary release with istio service mesh",
"title": "Flagger Canary Release"
},
"Spec": {
"type": "object",
"description": "used to define the desire state of the given container",
"title": "Spec",
"properties": {
"Affinity": {
"type": "object",
"description": "Node/Inter-pod Affinity allows you to constrain which nodes your pod is eligible to schedule on, based on labels of the node/pods",
"title": "Affinity",
"properties": {
"Key": {
"anyOf": [
{
"type": "null"
},
{
"type": "string",
"description": "Key part of the label for node/pod selection",
"title": "Key"
}
]
},
"Values": {
"type": "string",
"description": "Value part of the label for node/pod selection",
"title": "Values"
},
"key": {
"type": "string"
}
}
}
}
},
"ambassadorMapping": {
"type": "object",
"description": "used to create ambassador mapping resource",
"title": "Mapping",
"properties": {
"ambassadorId": {
"type": "string",
"description": "used to specify id for specific ambassador mappings controller",
"title": "Ambassador ID"
},
"cors": {
"type": "object",
"description": "used to specify cors policy to access host for this mapping",
"title": "CORS"
},
"enabled": {
"type": [
"boolean",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "used to specify whether to create an ambassador mapping or not",
"title": "Enabled"
},
"weight": {
"type": [
"integer",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "used to specify weight for canary ambassador mappings"
},
"hostname": {
"type": "string",
"description": "used to specify hostname for ambassador mapping",
"title": "Hostname"
},
"labels": {
"type": "object",
"description": "used to provide custom labels for ambassador mapping",
"title": "Labels"
},
"prefix": {
"type": "string",
"description": "used to specify path for ambassador mapping",
"title": "Prefix"
},
"retryPolicy": {
"type": "object",
"description": "used to specify retry policy for ambassador mapping",
"title": "Retry Policy"
},
"rewrite": {
"type": "string",
"description": "used to specify whether to redirect the path of this mapping and where",
"title": "Rewrite"
},
"tls": {
"type": "object",
"description": "used to create or define ambassador TLSContext resource",
"title": "TLS Context"
},
"extraSpec": {
"type": "object",
"description": "used to provide extra spec values which not present in deployment template for ambassador resource",
"title": "Extra Spec"
}
}
},
"args": {
"type": "object",
"description": " used to give arguments to command",
"title": "Arguments",
"properties": {
"enabled": {
"type": [
"boolean",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "used for enabling/disabling aruguments",
"title": "Enabled"
},
"value": {
"type": "array",
"description": "values of the arguments",
"title": "Value",
"items": [
{
"type": "string"
},
{
"type": "string"
},
{
"type": "string"
}
]
}
}
},
"autoscaling": {
"type": "object",
"description": "connected to HPA and controls scaling up and down in response to request load",
"title": "Autoscaling",
"properties": {
"MaxReplicas": {
"type": [
"integer",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "Maximum number of replicas allowed for scaling",
"title": "Maximum Replicas"
},
"MinReplicas": {
"type": [
"integer",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "Minimum number of replicas allowed for scaling",
"title": "Minimum Replicas"
},
"TargetCPUUtilizationPercentage": {
"type": [
"integer",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "The target CPU utilization that is expected for a container",
"title": "TargetCPUUtilizationPercentage"
},
"TargetMemoryUtilizationPercentage": {
"type": [
"integer",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "The target memory utilization that is expected for a container",
"title": "TargetMemoryUtilizationPercentage"
},
"behavior": {
"type": "object",
"description": "describes behavior and scaling policies for that behavior",
"title": "Behavior"
},
"enabled": {
"type": [
"boolean",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "used for enabling/disabling autoscaling",
"title": "Enabled"
},
"labels": {
"type": "object",
"description": "labels for HPA",
"title": "labels"
},
"annotations": {
"type": "object",
"description": "used to configure some options for HPA",
"title": "annotations"
},
"extraMetrics": {
"type": "array",
"items": {},
"description": "used to give external metrics for autoscaling",
"title": "Extra Metrics"
}
}
},
"command": {
"type": "object",
"description": "contains the commands for the server",
"title": "Command",
"properties": {
"enabled": {
"type": [
"boolean",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "used for enabling/disabling commands"
},
"value": {
"type": "array",
"items": {},
"description": "contains the commands",
"title": "Value"
},
"workingDir": {
"type": "object",
"items": {},
"description": "contains the working directory",
"title": "Working directory"
}
}
},
"containerSecurityContext": {
"type": "object",
"description": " defines privilege and access control settings for a Container",
"title": "Container Security Context"
},
"containers": {
"type": "array",
"items": {},
"description": " used to run side-car containers along with the main container within same pod"
},
"dbMigrationConfig": {
"type": "object",
"description": "used to configure database migration",
"title": "Db Migration Config",
"properties": {
"enabled": {
"type": [
"boolean",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "used for enabling/disabling the config",
"title": "Enabled"
}
}
},
"envoyproxy": {
"type": "object",
"description": "envoy is attached as a sidecar to the application container to collect metrics like 4XX, 5XX, throughput and latency",
"title": "Envoy Proxy",
"properties": {
"configMapName": {
"type": "string",
"description": "configMap containing configuration for Envoy",
"title": "ConfigMap"
},
"lifecycle":{
"type": "object",
"description": "Actions that the management system should take in response to container lifecycle events",
"title": "lifecycle",
"properties": {
"enabled":{
"type": "boolean"
},
"postStart":{
"type": "object",
"title": "postStart",
"description": "PostStart is called immediately after a container is created"
},
"preStop":{
"type": "object",
"title": "preStop",
"description": "PreStop is called immediately before a container is terminated"
}
}
},
"image": {
"type": "string",
"description": "image of envoy to be used"
},
"resources": {
"type": "object",
"description": "minimum and maximum RAM and CPU available to the application",
"title": "Resources",
"properties": {
"limits": {
"type": "object",
"description": "the maximum values a container can reach",
"title": "Limits",
"properties": {
"cpu": {
"type": "string",
"format": "cpu",
"description": "limit of CPU",
"title": "CPU"
},
"memory": {
"type": "string",
"format": "memory",
"description": "limit of memory",
"title": "Memory"
}
}
},
"requests": {
"type": "object",
"description": "request is what the container is guaranteed to get",
"title": "Requests",
"properties": {
"cpu": {
"type": "string",
"format": "cpu",
"description": "request value of CPU",
"title": "CPU"
},
"memory": {
"type": "string",
"format": "memory",
"description": "request value of memory",
"title": "Memory"
}
}
}
}
}
}
},
"hostAliases":{
"type": "array",
"title": "hostAliases",
"description": "HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file",
"items": [
{
"type": "object",
"properties": {
"ip":{
"type": "string",
"title": "IP",
"description": "IP address of the host file entry"
},
"hostnames":{
"type": "array",
"description": "Hostnames for the above IP address",
"items": [
{
"type": "string"
}
]
}
}
}
]
},
"image": {
"type": "object",
"description": "used to access images in kubernetes",
"title": "Image",
"properties": {
"pullPolicy": {
"type": "string",
"description": "used to define the instances calling the image",
"title": "Pull Policy",
"enum": ["IfNotPresent", "Always"]
}
}
},
"restartPolicy": {
"type": "string",
"description": "It restarts the docker container based on defined conditions.",
"title": "Restart Policy",
"enum": [
"Always",
"OnFailure",
"Never"
]
},
"imagePullSecrets": {
"type": "array",
"items": {},
"description": "contains the docker credentials that are used for accessing a registry",
"title": "Image PullSecrets"
},
"winterSoldier": {
"type": "object",
"description": "allows to scale, sleep or delete the resource based on time.",
"title": "winterSoldier",
"properties": {
"annotations": {
"type": "object",
"description": "used to configure some options depending on the winterSoldier controller",
"title": "Annotations"
},
"labels": {
"type": "object",
"description": "labels for winterSoldier",
"title": "winterSoldier labels",
"default": ""
},
"enabled": {
"type": [
"boolean",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "used to enable or disable ingress",
"title": "Enabled"
},
"apiVersion": {
"type": "string",
"description": "Api version for winterSoldier",
"title": "winterSoldier apiVersion",
"default": "pincher.devtron.ai/v1alpha1"
},
"timeRangesWithZone": {
"type": "object",
"description": "describe time zone and time ranges to input in the winterSoldier",
"title": "Time Ranges With Zone",
"timeZone": {
"type": "string",
"description": "describe time zone, and follow standard format",
"title": "Time Zone"
},
"timeRanges": {
"type": "array",
"items": {},
"description": "used to take array of time ranges in which each element contains timeFrom, timeTo, weekdayFrom and weekdayTo.",
"title": "Time Ranges"
}
},
"type": {
"type": "string",
"description": "describe the type of application Rollout/deployment.",
"title": "Type"
},
"action": {
"type": "string",
"description": "describe the action to be performed by winterSoldier.",
"title": "Action"
},
"targetReplicas": {
"type": "array",
"description": "describe the number of replicas to which the resource should scale up or down.",
"title": "Target Replicas"
},
"fieldSelector": {
"type": "array",
"description": "it takes arrays of methods to select specific fields.",
"title": "Field Selector"
}
}
},
"ingress": {
"type": "object",
"description": "allows public access to URLs",
"title": "Ingress",
"properties": {
"annotations": {
"type": "object",
"description": "used to configure some options depending on the Ingress controller",
"title": "Annotations"
},
"className": {
"type": "string",
"description": "name of ingress class, a reference to an IngressClass resource that contains additional configuration including the name of the controller",
"title": "Ingress class name",
"default": "nginx"
},
"labels": {
"type": "object",
"description": "labels for ingress",
"title": "Ingress labels",
"default": ""
},
"enabled": {
"type": [
"boolean",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "used to enable or disable ingress",
"title": "Enabled"
},
"hosts": {
"type": "array",
"description": "list of hosts in ingress",
"title": "Hosts",
"items": [
{
"type": "object",
"properties": {
"host": {
"type": "string",
"description": "host URL",
"title": "Host"
},
"pathType": {
"type": "string",
"description": "type of path",
"title": "PathType"
},
"paths": {
"type": "array",
"description": "list of paths for a given host",
"title": "Paths",
"items": [
{
"type": "string"
}
]
}
}
}
]
},
"tls": {
"type": "array",
"items": {},
"description": "contains security details - private key and certificate",
"title": "TLS"
}
}
},
"ingressInternal": {
"type": "object",
"description": "allows private access to the URLs",
"properties": {
"annotations": {
"type": "object",
"description": "used to configure some options depending on the Ingress controller",
"title": "Annotations"
},
"className": {
"type": "string",
"description": "name of ingress class, a reference to an IngressClass resource that contains additional configuration including the name of the controller",
"title": "Ingress class name",
"default": "nginx-internal"
},
"enabled": {
"type": [
"boolean",
"string"
],
"pattern": "^@{{[a-zA-Z0-9-+/*%_\\s]+}}$",
"description": "used to enable or disable ingress",