Skip to content

Commit fc868a5

Browse files
committed
Update devfile schema based on devfile/api@6e6e6a8
1 parent 49ff0a2 commit fc868a5

File tree

1 file changed

+12
-6
lines changed
  • docs/modules/user-guide/attachments/jsonschemas/next

1 file changed

+12
-6
lines changed

docs/modules/user-guide/attachments/jsonschemas/next/devfile.json

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@
344344
},
345345
"name": {
346346
"type": "string",
347-
"maxLength": 63,
347+
"maxLength": 15,
348348
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"
349349
},
350350
"path": {
@@ -369,6 +369,7 @@
369369
"type": "boolean"
370370
},
371371
"targetPort": {
372+
"description": "The port number should be unique.",
372373
"type": "integer"
373374
}
374375
},
@@ -615,7 +616,7 @@
615616
},
616617
"name": {
617618
"type": "string",
618-
"maxLength": 63,
619+
"maxLength": 15,
619620
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"
620621
},
621622
"path": {
@@ -640,6 +641,7 @@
640641
"type": "boolean"
641642
},
642643
"targetPort": {
644+
"description": "The port number should be unique.",
643645
"type": "integer"
644646
}
645647
},
@@ -716,7 +718,7 @@
716718
},
717719
"name": {
718720
"type": "string",
719-
"maxLength": 63,
721+
"maxLength": 15,
720722
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"
721723
},
722724
"path": {
@@ -741,6 +743,7 @@
741743
"type": "boolean"
742744
},
743745
"targetPort": {
746+
"description": "The port number should be unique.",
744747
"type": "integer"
745748
}
746749
},
@@ -1228,7 +1231,7 @@
12281231
},
12291232
"name": {
12301233
"type": "string",
1231-
"maxLength": 63,
1234+
"maxLength": 15,
12321235
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"
12331236
},
12341237
"path": {
@@ -1252,6 +1255,7 @@
12521255
"type": "boolean"
12531256
},
12541257
"targetPort": {
1258+
"description": "The port number should be unique.",
12551259
"type": "integer"
12561260
}
12571261
},
@@ -1490,7 +1494,7 @@
14901494
},
14911495
"name": {
14921496
"type": "string",
1493-
"maxLength": 63,
1497+
"maxLength": 15,
14941498
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"
14951499
},
14961500
"path": {
@@ -1514,6 +1518,7 @@
15141518
"type": "boolean"
15151519
},
15161520
"targetPort": {
1521+
"description": "The port number should be unique.",
15171522
"type": "integer"
15181523
}
15191524
},
@@ -1588,7 +1593,7 @@
15881593
},
15891594
"name": {
15901595
"type": "string",
1591-
"maxLength": 63,
1596+
"maxLength": 15,
15921597
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"
15931598
},
15941599
"path": {
@@ -1612,6 +1617,7 @@
16121617
"type": "boolean"
16131618
},
16141619
"targetPort": {
1620+
"description": "The port number should be unique.",
16151621
"type": "integer"
16161622
}
16171623
},

0 commit comments

Comments
 (0)