You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: pkg/devfile/parser/data/v2/2.2.0/devfileJsonSchema220.go
+31-2
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ const JsonSchema220 = `{
41
41
],
42
42
"properties": {
43
43
"apply": {
44
-
"description": "Command that consists in applying a given component definition, typically bound to a devworkspace event.\n\nFor example, when an 'apply' command is bound to a 'preStart' event, and references a 'container' component, it will start the container as a K8S initContainer in the devworkspace POD, unless the component has its 'dedicatedPod' field set to 'true'.\n\nWhen no 'apply' command exist for a given component, it is assumed the component will be applied at devworkspace start by default.",
44
+
"description": "Command that consists in applying a given component definition, typically bound to a devworkspace event.\n\nFor example, when an 'apply' command is bound to a 'preStart' event, and references a 'container' component, it will start the container as a K8S initContainer in the devworkspace POD, unless the component has its 'dedicatedPod' field set to 'true'.\n\nWhen no 'apply' command exist for a given component, it is assumed the component will be applied at devworkspace start by default, unless 'deployByDefault' for that component is set to false.",
45
45
"type": "object",
46
46
"required": [
47
47
"component"
@@ -457,6 +457,10 @@ const JsonSchema220 = `{
457
457
}
458
458
],
459
459
"properties": {
460
+
"autoBuild": {
461
+
"description": "Defines if the image should be built during startup.\n\nDefault value is 'false'",
462
+
"type": "boolean"
463
+
},
460
464
"dockerfile": {
461
465
"description": "Allows specifying dockerfile type build",
462
466
"type": "object",
@@ -577,6 +581,10 @@ const JsonSchema220 = `{
577
581
}
578
582
],
579
583
"properties": {
584
+
"deployByDefault": {
585
+
"description": "Defines if the component should be deployed during startup.\n\nDefault value is 'false'",
586
+
"type": "boolean"
587
+
},
580
588
"endpoints": {
581
589
"type": "array",
582
590
"items": {
@@ -674,6 +682,10 @@ const JsonSchema220 = `{
674
682
}
675
683
],
676
684
"properties": {
685
+
"deployByDefault": {
686
+
"description": "Defines if the component should be deployed during startup.\n\nDefault value is 'false'",
687
+
"type": "boolean"
688
+
},
677
689
"endpoints": {
678
690
"type": "array",
679
691
"items": {
@@ -935,7 +947,7 @@ const JsonSchema220 = `{
935
947
],
936
948
"properties": {
937
949
"apply": {
938
-
"description": "Command that consists in applying a given component definition, typically bound to a devworkspace event.\n\nFor example, when an 'apply' command is bound to a 'preStart' event, and references a 'container' component, it will start the container as a K8S initContainer in the devworkspace POD, unless the component has its 'dedicatedPod' field set to 'true'.\n\nWhen no 'apply' command exist for a given component, it is assumed the component will be applied at devworkspace start by default.",
950
+
"description": "Command that consists in applying a given component definition, typically bound to a devworkspace event.\n\nFor example, when an 'apply' command is bound to a 'preStart' event, and references a 'container' component, it will start the container as a K8S initContainer in the devworkspace POD, unless the component has its 'dedicatedPod' field set to 'true'.\n\nWhen no 'apply' command exist for a given component, it is assumed the component will be applied at devworkspace start by default, unless 'deployByDefault' for that component is set to false.",
939
951
"type": "object",
940
952
"properties": {
941
953
"component": {
@@ -1320,9 +1332,18 @@ const JsonSchema220 = `{
1320
1332
"required": [
1321
1333
"dockerfile"
1322
1334
]
1335
+
},
1336
+
{
1337
+
"required": [
1338
+
"autoBuild"
1339
+
]
1323
1340
}
1324
1341
],
1325
1342
"properties": {
1343
+
"autoBuild": {
1344
+
"description": "Defines if the image should be built during startup.\n\nDefault value is 'false'",
1345
+
"type": "boolean"
1346
+
},
1326
1347
"dockerfile": {
1327
1348
"description": "Allows specifying dockerfile type build",
1328
1349
"type": "object",
@@ -1437,6 +1458,10 @@ const JsonSchema220 = `{
1437
1458
}
1438
1459
],
1439
1460
"properties": {
1461
+
"deployByDefault": {
1462
+
"description": "Defines if the component should be deployed during startup.\n\nDefault value is 'false'",
1463
+
"type": "boolean"
1464
+
},
1440
1465
"endpoints": {
1441
1466
"type": "array",
1442
1467
"items": {
@@ -1531,6 +1556,10 @@ const JsonSchema220 = `{
1531
1556
}
1532
1557
],
1533
1558
"properties": {
1559
+
"deployByDefault": {
1560
+
"description": "Defines if the component should be deployed during startup.\n\nDefault value is 'false'",
0 commit comments