Skip to content

Commit 435aa29

Browse files
committed
update validation & schema
Signed-off-by: Stephanie <[email protected]>
1 parent 959f3c8 commit 435aa29

24 files changed

+442
-223
lines changed

crds/workspace.devfile.io_devworkspaces.v1beta1.yaml

Lines changed: 30 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ spec:
413413
- none
414414
type: string
415415
name:
416-
maxLength: 63
416+
maxLength: 15
417417
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
418418
type: string
419419
path:
@@ -453,6 +453,7 @@ spec:
453453
`wss`.
454454
type: boolean
455455
targetPort:
456+
description: The port number should be unique.
456457
type: integer
457458
required:
458459
- name
@@ -702,7 +703,7 @@ spec:
702703
- none
703704
type: string
704705
name:
705-
maxLength: 63
706+
maxLength: 15
706707
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
707708
type: string
708709
path:
@@ -742,6 +743,7 @@ spec:
742743
`wss`.
743744
type: boolean
744745
targetPort:
746+
description: The port number should be unique.
745747
type: integer
746748
required:
747749
- name
@@ -816,7 +818,7 @@ spec:
816818
- none
817819
type: string
818820
name:
819-
maxLength: 63
821+
maxLength: 15
820822
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
821823
type: string
822824
path:
@@ -856,6 +858,7 @@ spec:
856858
`wss`.
857859
type: boolean
858860
targetPort:
861+
description: The port number should be unique.
859862
type: integer
860863
required:
861864
- name
@@ -1201,7 +1204,7 @@ spec:
12011204
- none
12021205
type: string
12031206
name:
1204-
maxLength: 63
1207+
maxLength: 15
12051208
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
12061209
type: string
12071210
path:
@@ -1245,6 +1248,8 @@ spec:
12451248
a protocol of `https` or `wss`.
12461249
type: boolean
12471250
targetPort:
1251+
description: The port number should be
1252+
unique.
12481253
type: integer
12491254
required:
12501255
- name
@@ -1481,7 +1486,7 @@ spec:
14811486
- none
14821487
type: string
14831488
name:
1484-
maxLength: 63
1489+
maxLength: 15
14851490
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
14861491
type: string
14871492
path:
@@ -1525,6 +1530,8 @@ spec:
15251530
a protocol of `https` or `wss`.
15261531
type: boolean
15271532
targetPort:
1533+
description: The port number should be
1534+
unique.
15281535
type: integer
15291536
required:
15301537
- name
@@ -1605,7 +1612,7 @@ spec:
16051612
- none
16061613
type: string
16071614
name:
1608-
maxLength: 63
1615+
maxLength: 15
16091616
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
16101617
type: string
16111618
path:
@@ -1649,6 +1656,8 @@ spec:
16491656
a protocol of `https` or `wss`.
16501657
type: boolean
16511658
targetPort:
1659+
description: The port number should be
1660+
unique.
16521661
type: integer
16531662
required:
16541663
- name
@@ -2091,7 +2100,7 @@ spec:
20912100
- none
20922101
type: string
20932102
name:
2094-
maxLength: 63
2103+
maxLength: 15
20952104
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
20962105
type: string
20972106
path:
@@ -2132,6 +2141,7 @@ spec:
21322141
or `wss`.
21332142
type: boolean
21342143
targetPort:
2144+
description: The port number should be unique.
21352145
type: integer
21362146
required:
21372147
- name
@@ -2356,7 +2366,7 @@ spec:
23562366
- none
23572367
type: string
23582368
name:
2359-
maxLength: 63
2369+
maxLength: 15
23602370
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
23612371
type: string
23622372
path:
@@ -2397,6 +2407,7 @@ spec:
23972407
or `wss`.
23982408
type: boolean
23992409
targetPort:
2410+
description: The port number should be unique.
24002411
type: integer
24012412
required:
24022413
- name
@@ -2471,7 +2482,7 @@ spec:
24712482
- none
24722483
type: string
24732484
name:
2474-
maxLength: 63
2485+
maxLength: 15
24752486
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
24762487
type: string
24772488
path:
@@ -2512,6 +2523,7 @@ spec:
25122523
or `wss`.
25132524
type: boolean
25142525
targetPort:
2526+
description: The port number should be unique.
25152527
type: integer
25162528
required:
25172529
- name
@@ -2866,7 +2878,7 @@ spec:
28662878
- none
28672879
type: string
28682880
name:
2869-
maxLength: 63
2881+
maxLength: 15
28702882
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
28712883
type: string
28722884
path:
@@ -2914,6 +2926,8 @@ spec:
29142926
or `wss`.
29152927
type: boolean
29162928
targetPort:
2929+
description: The port number should
2930+
be unique.
29172931
type: integer
29182932
required:
29192933
- name
@@ -3164,7 +3178,7 @@ spec:
31643178
- none
31653179
type: string
31663180
name:
3167-
maxLength: 63
3181+
maxLength: 15
31683182
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
31693183
type: string
31703184
path:
@@ -3212,6 +3226,8 @@ spec:
32123226
or `wss`.
32133227
type: boolean
32143228
targetPort:
3229+
description: The port number should
3230+
be unique.
32153231
type: integer
32163232
required:
32173233
- name
@@ -3295,7 +3311,7 @@ spec:
32953311
- none
32963312
type: string
32973313
name:
3298-
maxLength: 63
3314+
maxLength: 15
32993315
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
33003316
type: string
33013317
path:
@@ -3343,6 +3359,8 @@ spec:
33433359
or `wss`.
33443360
type: boolean
33453361
targetPort:
3362+
description: The port number should
3363+
be unique.
33463364
type: integer
33473365
required:
33483366
- name

0 commit comments

Comments
 (0)