-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.config.json
1046 lines (1045 loc) · 37.5 KB
/
schema.config.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-07/schema#",
"properties": {
"build": {
"description": "Build configurations",
"properties": {
"cache": {
"description": "Enable caching for this command (DEFAULT: true)",
"type": "boolean"
},
"command": {
"description": "Command for running certain step, e.g. \"pip install\"",
"type": "string"
},
"input": {
"description": "Input Files/Folders needed for running this command",
"items": {
"type": "string"
},
"type": "array"
},
"output": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
],
"description": "Files to copy after running command"
}
},
"type": "object"
},
"docker": {
"description": "[DEPRECATED - USE IMAGE PARAM] Settings for the environment, where a service/job/cronjob runs. You can also skip this if you provide an own dockerfile",
"properties": {
"ignore": {
"description": "Files that are not relevant for deployment (e.g. tests)",
"type": "string"
},
"imageFrom": {
"description": "If no preset is chosen, you can define an image (e.g. from https://hub.docker.com/) yourself",
"type": "string"
},
"preparationCommand": {
"description": "[DEPRECATED - USE SETUP PARAM ON ROOT LEVEL] Use this line to install additional native tools to your machine (e.g. \"apk add --no-cache curl\" without prepending \"RUN\"!)",
"type": "string"
},
"preset": {
"description": "Preset of image serving for application with some preinstalled stuff (\"node\"=node:14-alpine/\"java\"=openjdk:8-jdk-alpine + maven/\"python\"=python:3.7.10-slim-buster)",
"enum": [
"yarn",
"node",
"java-mvn",
"java11",
"python"
],
"type": "string"
}
},
"type": "object"
},
"envs": {
"description": "Custom Environment Variables (also available during build - EXCEPT Google Cloud Secrets!)\nDefaults are: STAGE(develop/live),HOST,PORT",
"items": {
"properties": {
"name": {
"description": "The name of the env (free choice)",
"type": "string"
},
"type": {
"const": "Reference",
"type": "string"
},
"value": {
"description": "Any value (will be interpreted as string)",
"type": "string"
},
"valueFrom": {
"properties": {
"configMapKeyRef": {
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key",
"name"
],
"type": "object"
},
"fieldRef": {
"properties": {
"fieldPath": {
"type": "string"
}
},
"required": [
"fieldPath"
],
"type": "object"
},
"resourceFieldRef": {
"properties": {
"containerName": {
"type": "string"
},
"resource": {
"type": "string"
}
},
"required": [
"containerName",
"resource"
],
"type": "object"
},
"secretKeyRef": {
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key",
"name"
],
"type": "object"
},
"type": {
"const": "SecretKeyRef",
"type": "string"
}
},
"type": "object"
}
},
"required": [
"name"
],
"type": "object"
},
"type": "array"
},
"image": {
"anyOf": [
{
"properties": {
"ignore": {
"description": "Files that are not relevant for deployment (e.g. tests)",
"type": "string"
},
"imageFrom": {
"description": "If no preset is chosen, you can define an image (e.g. from https://hub.docker.com/) yourself",
"type": "string"
},
"preparationCommand": {
"description": "[DEPRECATED - USE SETUP PARAM ON ROOT LEVEL] Use this line to install additional native tools to your machine (e.g. \"apk add --no-cache curl\" without prepending \"RUN\"!)",
"type": "string"
},
"preset": {
"description": "Preset of image serving for application with some preinstalled stuff (\"node\"=node:14-alpine/\"java\"=openjdk:8-jdk-alpine + maven/\"python\"=python:3.7.10-slim-buster)",
"enum": [
"yarn",
"node",
"java-mvn",
"java11",
"python"
],
"type": "string"
}
},
"type": "object"
},
{
"type": "string"
}
],
"description": "Settings for the environment, where a service/job/cronjob runs - eg. \"image: python:3.12.0-bullseye\". You can also skip this if you provide an own dockerfile"
},
"install": {
"description": "Install configurations for installing dependencies needed for your app to run",
"properties": {
"cache": {
"description": "Enable caching for this command (DEFAULT: true)",
"type": "boolean"
},
"command": {
"description": "Command for running certain step, e.g. \"pip install\"",
"type": "string"
},
"input": {
"description": "Input Files/Folders needed for running this command",
"items": {
"type": "string"
},
"type": "array"
},
"output": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
],
"description": "Files to copy after running command"
}
},
"type": "object"
},
"isEnabled": {
"description": "Whether to run the deployment or not",
"type": "boolean"
},
"run": {
"allOf": [
{
"properties": {
"cache": {
"description": "Enable caching for this command (DEFAULT: true)",
"type": "boolean"
},
"command": {
"description": "Command for running certain step, e.g. \"pip install\"",
"type": "string"
},
"input": {
"description": "Input Files/Folders needed for running this command",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
{
"properties": {
"args": {
"description": "Custom args, that will be appended to the image command. When not specifying a run.command, the default docker-entry-point will be used and with args you can add some custom configurations.",
"items": {
"type": "string"
},
"type": "array"
},
"envs": {
"description": "[DEPRECATED - USE ENVS PARAM ON ROOT LEVEL] Custom Environment Variables (also available during build!) - defaults are: STAGE(develop/live),HOST,PORT",
"items": {
"properties": {
"name": {
"description": "The name of the env (free choice)",
"type": "string"
},
"type": {
"const": "Reference",
"type": "string"
},
"value": {
"description": "Any value (will be interpreted as string)",
"type": "string"
},
"valueFrom": {
"properties": {
"configMapKeyRef": {
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key",
"name"
],
"type": "object"
},
"fieldRef": {
"properties": {
"fieldPath": {
"type": "string"
}
},
"required": [
"fieldPath"
],
"type": "object"
},
"resourceFieldRef": {
"properties": {
"containerName": {
"type": "string"
},
"resource": {
"type": "string"
}
},
"required": [
"containerName",
"resource"
],
"type": "object"
},
"secretKeyRef": {
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key",
"name"
],
"type": "object"
},
"type": {
"const": "SecretKeyRef",
"type": "string"
}
},
"type": "object"
}
},
"required": [
"name"
],
"type": "object"
},
"type": "array"
}
},
"type": "object"
}
],
"description": "Run configurations, you can skip these if not needed. If run command is omitted, it uses the default docker entrypoint (consider the right port settings!)"
},
"settings": {
"description": "General Deployment settings",
"properties": {
"alerts": {
"description": "Set your types of alerts here (types: \"uptime\", \"logs\", \"storage\")",
"items": {
"properties": {
"channels": {
"description": "Channels from cloud monitoring to send alerts to",
"items": {
"type": "string"
},
"type": "array"
},
"emails": {
"description": "Email addresses, which will receive alert",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"type": "string"
},
"policies": {
"description": "Condition policies when to alert the channels",
"items": {
"anyOf": [
{
"properties": {
"name": {
"description": "Name of this alert, which will be sent as subject",
"type": "string"
},
"type": {
"const": "uptime",
"description": "Type of the alert (types: \"uptime\", \"logs\", \"storage\")",
"type": "string"
}
},
"required": [
"name",
"type"
],
"type": "object"
},
{
"properties": {
"name": {
"description": "Name of this alert, which will be sent as subject",
"type": "string"
},
"type": {
"const": "error",
"description": "Type of the alert (types: \"uptime\", \"logs\", \"storage\")",
"type": "string"
}
},
"required": [
"name",
"type"
],
"type": "object"
},
{
"properties": {
"name": {
"description": "Name of this alert, which will be sent as subject",
"type": "string"
},
"regex": {
"description": "Regex to search for in logs",
"type": "string"
},
"type": {
"const": "log",
"description": "Type of the alert (types: \"uptime\", \"logs\", \"storage\")",
"type": "string"
}
},
"required": [
"name",
"regex",
"type"
],
"type": "object"
},
{
"properties": {
"name": {
"description": "Name of this alert, which will be sent as subject",
"type": "string"
},
"threshold": {
"description": "Maximum percentage on which alert will be triggered (e.g. 75%)",
"type": "number"
},
"type": {
"const": "storage",
"description": "Type of the alert (types: \"uptime\", \"logs\", \"storage\")",
"type": "string"
}
},
"required": [
"name",
"type"
],
"type": "object"
}
]
},
"type": "array"
},
"webhook": {
"description": "Webhook to send alert to (!! CURRENTLY, NOT AVAILABLE !!)",
"type": "string"
}
},
"required": [
"name",
"policies"
],
"type": "object"
},
"type": "array"
},
"autoscaling": {
"description": "Whether to enable autoscaling for you deployment. You need to have resources.requests defined. If the resource usage is 75 percent to your requests, then a new pod will be raised.",
"type": "boolean"
},
"broker": {
"anyOf": [
{
"properties": {
"existingName": {
"description": "Whether to create a vhost or use an existing one",
"type": "string"
},
"type": {
"const": "rabbitmq",
"description": "The type of broker, currently just rabbitma (default: rabbitmq)",
"type": "string"
}
},
"type": "object"
},
{
"const": true,
"type": "boolean"
}
],
"description": "When using a broker, corresponding envs will be ingested ( \"BROKER_ADDRESS\" - IP:PORT // \"BROKER_USER\" // \"BROKER_PASSWORD\" // \"BROKER_VHOST\")"
},
"concurrencyPolicy": {
"description": "CronJob concurrency policy setting; default is 'Allow' (see: https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#concurrency-policy) - If bucket is set, defaults to: \"Forbid\"",
"enum": [
"Allow",
"Forbid",
"Replace"
],
"type": "string"
},
"database": {
"description": "Database setup (following envs will be added to your app: \"DATABASE_ADDRESS\" - IP:PORT // \"DATABASE_USER\" // \"DATABASE_PASSWORD\")",
"properties": {
"args": {
"description": "Args that should be appended on starting of db (e.g. \"--appendfiles false\" for redis, to not use persistence layer)",
"type": "string"
},
"existingName": {
"description": "Add application name of existing database (without type \"-postgres\"/\"-elasticsearch\"!)",
"type": "string"
},
"frontend": {
"description": "Whether to set up a frontend (grafana/kibana)",
"type": "boolean"
},
"initQuery": {
"description": "Don't use this while migrating your database! You can pass a sql query here, that will be executed on the first deployment to prepare your db",
"type": "string"
},
"requests": {
"description": "Resources that should be requested for the database",
"properties": {
"cpu": {
"description": "CPU setting. Use decimals ( 1.5 = \"one and a half cpu\"), see: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu",
"type": "number"
},
"ephemeral-storage": {
"description": "Memory setting. Use strings with appended \"Gi\", \"G\", \"Mi\" or \"M\", see: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory",
"type": "string"
},
"memory": {
"description": "Memory setting. Use strings with appended \"Gi\", \"G\", \"Mi\" or \"M\", see: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory",
"type": "string"
},
"nvidia.com/gpu": {
"description": "GPU setting (set to 1 to use gpu machine!)",
"type": "number"
}
},
"type": "object"
},
"size": {
"description": "Database size in Gigabyte",
"type": "number"
},
"type": {
"description": "Type of database (elasticsearch/postgres/pgvector/redis)",
"enum": [
"postgresql",
"pgvector",
"mysql",
"redis",
"elasticsearch"
],
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
},
"inSecure": {
"description": "[DEPRECATED - PLEASE USE SECURITY CONFIG] If toggle is true, no auth is required - default: true on dev / false on live",
"type": "boolean"
},
"internal": {
"description": "Specifies if the service gets an ingress, so can be reached from outside. Internal services won't be reachable via internet (default: false)",
"type": "boolean"
},
"livenessProbe": {
"description": "Failing liveness probe will restart the container",
"properties": {
"exec": {
"description": "Execute a command to check your containers health",
"properties": {
"command": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
],
"description": "E.g.: \"curl 'someendpoint.com'\""
}
},
"required": [
"command"
],
"type": "object"
},
"failureThreshold": {
"description": "How many failed probes until container will shut down",
"type": "number"
},
"httpGet": {
"description": "HTTP GET request for checking your app status",
"properties": {
"httpHeaders": {
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"name",
"value"
],
"type": "object"
},
"path": {
"type": "string"
},
"port": {
"type": "number"
}
},
"required": [
"path",
"port"
],
"type": "object"
},
"initialDelaySeconds": {
"description": "Initial delay before triggering probe",
"type": "number"
},
"periodSeconds": {
"description": "How often (in seconds) this probe should run",
"type": "number"
}
},
"type": "object"
},
"persistentBucket": {
"description": "Name of an existing bucket, to get persistence layer (accessible via env: \"VOLUME_PATH\" - default is \"/data/storage\")",
"type": "string"
},
"persistentVolume": {
"description": "Persistent volume configs (accessible via env \"VOLUME_PATH\" - default is \"/data/storage\")",
"properties": {
"existingName": {
"description": "Use an existing name of a volume (application name without type \"-volume\"!)",
"type": "string"
},
"mountPath": {
"description": "Where to mount / access your volume - default: \"/data/storage\"",
"type": "string"
},
"preInit": {
"description": "Whether to first init volume before deploy application (to prefill volume beforehand)",
"type": "boolean"
},
"shared": {
"description": "Creates a NFS volume with web-ui, which can be accessed by multiple applications. Non-shared volumes just can be mounted by ONE application.",
"type": "boolean"
},
"size": {
"description": "Volume size in Gigabyte",
"type": "number"
}
},
"type": "object"
},
"port": {
"description": "Specify on which port your application is running. Default is 3000",
"type": "number"
},
"projectName": {
"description": "The projectName is the external presentation name (e.g. for your URL)",
"type": "string"
},
"readinessProbe": {
"description": "Failing readiness probe will stop your application from serving traffic, so it won't be ready until it succeeds",
"properties": {
"exec": {
"description": "Execute a command to check your containers health",
"properties": {
"command": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
],
"description": "E.g.: \"curl 'someendpoint.com'\""
}
},
"required": [
"command"
],
"type": "object"
},
"failureThreshold": {
"description": "How many failed probes until container will shut down",
"type": "number"
},
"httpGet": {
"description": "HTTP GET request for checking your app status",
"properties": {
"httpHeaders": {
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"name",
"value"
],
"type": "object"
},
"path": {
"type": "string"
},
"port": {
"type": "number"
}
},
"required": [
"path",
"port"
],
"type": "object"
},
"initialDelaySeconds": {
"description": "Initial delay before triggering probe",
"type": "number"
},
"periodSeconds": {
"description": "How often (in seconds) this probe should run",
"type": "number"
}
},
"type": "object"
},
"regName": {
"description": "Name of image registry repo",
"enum": [
"cloud-deploy-images",
"kubeflow-pipeline-images"
],
"type": "string"
},
"replicas": {
"description": "Scale your application (default is 1 serving pod)",
"type": "number"
},
"resources": {
"description": "Resources reservations, for requesting more memory or cpu",
"properties": {
"limits": {
"description": "Maximum resource specs for your application",
"properties": {
"cpu": {
"description": "CPU setting. Use decimals ( 1.5 = \"one and a half cpu\"), see: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu",
"type": "number"
},
"ephemeral-storage": {
"description": "Memory setting. Use strings with appended \"Gi\", \"G\", \"Mi\" or \"M\", see: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory",
"type": "string"
},
"memory": {
"description": "Memory setting. Use strings with appended \"Gi\", \"G\", \"Mi\" or \"M\", see: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory",
"type": "string"
},
"nvidia.com/gpu": {
"description": "GPU setting (set to 1 to use gpu machine!)",
"type": "number"
}
},
"type": "object"
},
"requests": {
"description": "Minimum resource specs for your application",
"properties": {
"cpu": {
"description": "CPU setting. Use decimals ( 1.5 = \"one and a half cpu\"), see: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu",
"type": "number"
},
"ephemeral-storage": {
"description": "Memory setting. Use strings with appended \"Gi\", \"G\", \"Mi\" or \"M\", see: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory",
"type": "string"
},
"memory": {
"description": "Memory setting. Use strings with appended \"Gi\", \"G\", \"Mi\" or \"M\", see: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory",
"type": "string"
},
"nvidia.com/gpu": {
"description": "GPU setting (set to 1 to use gpu machine!)",
"type": "number"
}
},
"type": "object"
}
},
"required": [
"requests"
],
"type": "object"
},
"schedule": {
"description": "CronJob schedule setting (see: https://crontab.guru/)",
"type": "string"
},
"security": {
"description": "Define security settings for your deployment",
"properties": {
"allowedGroups": {
"description": "When login is enabled, you can restrict your deployment to specific groups, e.g. \"br\" - default: \"ailab\", \"data\"",
"items": {
"type": "string"
},
"type": "array"
},
"corsOrigins": {
"description": "Array of whitelist origins for cors, e.g. \"https://origin-site.com:4443, http://origin-site.com, https://example.org:1199\" - default: \"https://*.${dev/live}.de, http://localhost\"",
"items": {
"type": "string"
},
"type": "array"
},
"enableCors": {
"description": "Whether to enable CORS on your service or not - default: false",
"type": "boolean"
},
"forwardAuth": {
"description": "Whether to forward auth headers to your app or not. This can be helpful to access information about who is accessing your app, when using type: \"login\". You can get infos via following headers: X-Forwarded-User, X-Forwarded-Groups, X-Forwarded-Email",
"type": "boolean"
},
"ingressConfigs": {
"description": "Additional ingress annotations you want to define e.g.: proxy-buffer-size: 8k, see: https://github.com/kubernetes/ingress-nginx/blob/main/docs/user-guide/nginx-configuration/annotations.md",
"items": {
"properties": {
"name": {
"description": "The name of the env (free choice)",
"type": "string"
},
"type": {
"const": "Reference",
"type": "string"
},
"value": {
"description": "Any value (will be interpreted as string)",
"type": "string"
},
"valueFrom": {
"properties": {
"configMapKeyRef": {
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key",
"name"
],
"type": "object"
},
"fieldRef": {
"properties": {
"fieldPath": {
"type": "string"
}
},
"required": [
"fieldPath"
],
"type": "object"
},
"resourceFieldRef": {
"properties": {
"containerName": {
"type": "string"
},
"resource": {
"type": "string"
}
},
"required": [
"containerName",
"resource"
],
"type": "object"
},
"secretKeyRef": {
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key",
"name"
],
"type": "object"
},
"type": {
"const": "SecretKeyRef",
"type": "string"
}
},
"type": "object"
}
},
"required": [
"name"
],
"type": "object"
},
"type": "array"
},
"tokens": {
"description": "If you like to protect your api with multiple tokens, just add a list of audiences (names for your tokens, not the token itself) here - default: one token with name \"default\"",
"items": {
"type": "string"
},
"type": "array"
},
"type": {
"description": "Whether to just use oauth2-login or also token(s) to protect your app. With \"none\" no security settings will be applied - default is dev:\"login\", live:\"none\"",
"enum": [
"login",
"none",
"token"
],
"type": "string"
},
"useLoginFallback": {
"description": "This will make your deployment fall back to login page, when tokens enabled and request has no valid token. Useful if your server is used by websites that are already authenticated, so no token has to be sent from the website. CAUTION: This will return 200, even if token is not valid, as it response to the login page - default: false",
"type": "boolean"
}
},
"type": "object"
},
"skipBuild": {
"description": "Specifies if the project is just a standalone solution and using an already ready image. This means, no build is done, just configurations and deploy to kubernetes (default: false - currently just services possible / no jobs)",
"type": "boolean"
},
"type": {
"description": "Type of deployment (service/job/website/image) / Jobs will be auto-deleted after crash or finish",
"enum": [
"website",
"service",
"job",
"cronjob",
"image",
"standalone"
],
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
},
"setup": {