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
+84Lines changed: 84 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -269,6 +269,27 @@ const JsonSchema220 = `{
269
269
"image"
270
270
],
271
271
"properties": {
272
+
"annotation": {
273
+
"description": "Annotations that should be added to specific resources for this container",
274
+
"type": "object",
275
+
"properties": {
276
+
"deployment": {
277
+
"description": "Annotations to be added to deployment",
278
+
"type": "object",
279
+
"additionalProperties": {
280
+
"type": "string"
281
+
}
282
+
},
283
+
"service": {
284
+
"description": "Annotations to be added to service",
285
+
"type": "object",
286
+
"additionalProperties": {
287
+
"type": "string"
288
+
}
289
+
}
290
+
},
291
+
"additionalProperties": false
292
+
},
272
293
"args": {
273
294
"description": "The arguments to supply to the command running the dockerimage component. The arguments are supplied either to the default command provided in the image or to the overridden command.\n\nDefaults to an empty array, meaning use whatever is defined in the image.",
274
295
"type": "array",
@@ -302,6 +323,13 @@ const JsonSchema220 = `{
302
323
"targetPort"
303
324
],
304
325
"properties": {
326
+
"annotation": {
327
+
"description": "Annotations to be added to Kubernetes Ingress or Openshift Route",
328
+
"type": "object",
329
+
"additionalProperties": {
330
+
"type": "string"
331
+
}
332
+
},
305
333
"attributes": {
306
334
"description": "Map of implementation-dependant string-based free-form attributes.\n\nExamples of Che-specific attributes:\n- cookiesAuthEnabled: \"true\" / \"false\",\n- type: \"terminal\" / \"ide\" / \"ide-dev\",",
307
335
"type": "object",
@@ -558,6 +586,13 @@ const JsonSchema220 = `{
558
586
"targetPort"
559
587
],
560
588
"properties": {
589
+
"annotation": {
590
+
"description": "Annotations to be added to Kubernetes Ingress or Openshift Route",
591
+
"type": "object",
592
+
"additionalProperties": {
593
+
"type": "string"
594
+
}
595
+
},
561
596
"attributes": {
562
597
"description": "Map of implementation-dependant string-based free-form attributes.\n\nExamples of Che-specific attributes:\n- cookiesAuthEnabled: \"true\" / \"false\",\n- type: \"terminal\" / \"ide\" / \"ide-dev\",",
563
598
"type": "object",
@@ -648,6 +683,13 @@ const JsonSchema220 = `{
648
683
"targetPort"
649
684
],
650
685
"properties": {
686
+
"annotation": {
687
+
"description": "Annotations to be added to Kubernetes Ingress or Openshift Route",
688
+
"type": "object",
689
+
"additionalProperties": {
690
+
"type": "string"
691
+
}
692
+
},
651
693
"attributes": {
652
694
"description": "Map of implementation-dependant string-based free-form attributes.\n\nExamples of Che-specific attributes:\n- cookiesAuthEnabled: \"true\" / \"false\",\n- type: \"terminal\" / \"ide\" / \"ide-dev\",",
653
695
"type": "object",
@@ -1101,6 +1143,27 @@ const JsonSchema220 = `{
1101
1143
"description": "Allows adding and configuring devworkspace-related containers",
1102
1144
"type": "object",
1103
1145
"properties": {
1146
+
"annotation": {
1147
+
"description": "Annotations that should be added to specific resources for this container",
1148
+
"type": "object",
1149
+
"properties": {
1150
+
"deployment": {
1151
+
"description": "Annotations to be added to deployment",
1152
+
"type": "object",
1153
+
"additionalProperties": {
1154
+
"type": "string"
1155
+
}
1156
+
},
1157
+
"service": {
1158
+
"description": "Annotations to be added to service",
1159
+
"type": "object",
1160
+
"additionalProperties": {
1161
+
"type": "string"
1162
+
}
1163
+
}
1164
+
},
1165
+
"additionalProperties": false
1166
+
},
1104
1167
"args": {
1105
1168
"description": "The arguments to supply to the command running the dockerimage component. The arguments are supplied either to the default command provided in the image or to the overridden command.\n\nDefaults to an empty array, meaning use whatever is defined in the image.",
1106
1169
"type": "array",
@@ -1133,6 +1196,13 @@ const JsonSchema220 = `{
1133
1196
"name"
1134
1197
],
1135
1198
"properties": {
1199
+
"annotation": {
1200
+
"description": "Annotations to be added to Kubernetes Ingress or Openshift Route",
1201
+
"type": "object",
1202
+
"additionalProperties": {
1203
+
"type": "string"
1204
+
}
1205
+
},
1136
1206
"attributes": {
1137
1207
"description": "Map of implementation-dependant string-based free-form attributes.\n\nExamples of Che-specific attributes:\n- cookiesAuthEnabled: \"true\" / \"false\",\n- type: \"terminal\" / \"ide\" / \"ide-dev\",",
1138
1208
"type": "object",
@@ -1375,6 +1445,13 @@ const JsonSchema220 = `{
1375
1445
"name"
1376
1446
],
1377
1447
"properties": {
1448
+
"annotation": {
1449
+
"description": "Annotations to be added to Kubernetes Ingress or Openshift Route",
1450
+
"type": "object",
1451
+
"additionalProperties": {
1452
+
"type": "string"
1453
+
}
1454
+
},
1378
1455
"attributes": {
1379
1456
"description": "Map of implementation-dependant string-based free-form attributes.\n\nExamples of Che-specific attributes:\n- cookiesAuthEnabled: \"true\" / \"false\",\n- type: \"terminal\" / \"ide\" / \"ide-dev\",",
1380
1457
"type": "object",
@@ -1462,6 +1539,13 @@ const JsonSchema220 = `{
1462
1539
"name"
1463
1540
],
1464
1541
"properties": {
1542
+
"annotation": {
1543
+
"description": "Annotations to be added to Kubernetes Ingress or Openshift Route",
1544
+
"type": "object",
1545
+
"additionalProperties": {
1546
+
"type": "string"
1547
+
}
1548
+
},
1465
1549
"attributes": {
1466
1550
"description": "Map of implementation-dependant string-based free-form attributes.\n\nExamples of Che-specific attributes:\n- cookiesAuthEnabled: \"true\" / \"false\",\n- type: \"terminal\" / \"ide\" / \"ide-dev\",",
0 commit comments