Skip to content

Commit 6fd226e

Browse files
committed
update the description of uri to make it more clear
Signed-off-by: Stephanie <[email protected]>
1 parent bfc3f50 commit 6fd226e

16 files changed

+77
-53
lines changed

crds/workspace.devfile.io_devworkspaces.v1beta1.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5497,7 +5497,9 @@ spec:
54975497
registryUrl:
54985498
type: string
54995499
uri:
5500-
description: Uri of a Devfile yaml file
5500+
description: Uri Reference of a Devfile yaml file, can
5501+
be a full URL or a relative Uri with the current devfile
5502+
as the base Uri
55015503
type: string
55025504
type: object
55035505
volume:
@@ -6880,7 +6882,9 @@ spec:
68806882
registryUrl:
68816883
type: string
68826884
uri:
6883-
description: Uri of a Devfile yaml file
6885+
description: Uri Reference of a Devfile yaml file,
6886+
can be a full URL or a relative Uri with the current
6887+
devfile as the base Uri
68846888
type: string
68856889
type: object
68866890
volume:
@@ -7143,7 +7147,9 @@ spec:
71437147
type: object
71447148
type: array
71457149
uri:
7146-
description: Uri of a Devfile yaml file
7150+
description: Uri Reference of a Devfile yaml file, can be
7151+
a full URL or a relative Uri with the current devfile as
7152+
the base Uri
71477153
type: string
71487154
type: object
71497155
projects:

crds/workspace.devfile.io_devworkspaces.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5502,7 +5502,9 @@ spec:
55025502
registryUrl:
55035503
type: string
55045504
uri:
5505-
description: Uri of a Devfile yaml file
5505+
description: Uri Reference of a Devfile yaml file, can
5506+
be a full URL or a relative Uri with the current devfile
5507+
as the base Uri
55065508
type: string
55075509
type: object
55085510
volume:
@@ -6885,7 +6887,9 @@ spec:
68856887
registryUrl:
68866888
type: string
68876889
uri:
6888-
description: Uri of a Devfile yaml file
6890+
description: Uri Reference of a Devfile yaml file,
6891+
can be a full URL or a relative Uri with the current
6892+
devfile as the base Uri
68896893
type: string
68906894
type: object
68916895
volume:
@@ -7148,7 +7152,9 @@ spec:
71487152
type: object
71497153
type: array
71507154
uri:
7151-
description: Uri of a Devfile yaml file
7155+
description: Uri Reference of a Devfile yaml file, can be
7156+
a full URL or a relative Uri with the current devfile as
7157+
the base Uri
71527158
type: string
71537159
type: object
71547160
projects:

crds/workspace.devfile.io_devworkspacetemplates.v1beta1.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5220,7 +5220,9 @@ spec:
52205220
registryUrl:
52215221
type: string
52225222
uri:
5223-
description: Uri of a Devfile yaml file
5223+
description: Uri Reference of a Devfile yaml file, can be
5224+
a full URL or a relative Uri with the current devfile
5225+
as the base Uri
52245226
type: string
52255227
type: object
52265228
volume:
@@ -6552,7 +6554,9 @@ spec:
65526554
registryUrl:
65536555
type: string
65546556
uri:
6555-
description: Uri of a Devfile yaml file
6557+
description: Uri Reference of a Devfile yaml file, can
6558+
be a full URL or a relative Uri with the current devfile
6559+
as the base Uri
65566560
type: string
65576561
type: object
65586562
volume:
@@ -6810,7 +6814,8 @@ spec:
68106814
type: object
68116815
type: array
68126816
uri:
6813-
description: Uri of a Devfile yaml file
6817+
description: Uri Reference of a Devfile yaml file, can be a full
6818+
URL or a relative Uri with the current devfile as the base Uri
68146819
type: string
68156820
type: object
68166821
projects:

crds/workspace.devfile.io_devworkspacetemplates.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5225,7 +5225,9 @@ spec:
52255225
registryUrl:
52265226
type: string
52275227
uri:
5228-
description: Uri of a Devfile yaml file
5228+
description: Uri Reference of a Devfile yaml file, can be
5229+
a full URL or a relative Uri with the current devfile
5230+
as the base Uri
52295231
type: string
52305232
type: object
52315233
volume:
@@ -6557,7 +6559,9 @@ spec:
65576559
registryUrl:
65586560
type: string
65596561
uri:
6560-
description: Uri of a Devfile yaml file
6562+
description: Uri Reference of a Devfile yaml file, can
6563+
be a full URL or a relative Uri with the current devfile
6564+
as the base Uri
65616565
type: string
65626566
type: object
65636567
volume:
@@ -6815,7 +6819,8 @@ spec:
68156819
type: object
68166820
type: array
68176821
uri:
6818-
description: Uri of a Devfile yaml file
6822+
description: Uri Reference of a Devfile yaml file, can be a full
6823+
URL or a relative Uri with the current devfile as the base Uri
68196824
type: string
68206825
type: object
68216826
projects:

pkg/apis/workspaces/v1alpha2/importReference.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ type ImportReferenceUnion struct {
2121
// +optional
2222
ImportReferenceType ImportReferenceType `json:"importReferenceType,omitempty"`
2323

24-
// Uri of a Devfile yaml file
24+
// Uri Reference of a Devfile yaml file, can be a full URL
25+
// or a relative Uri with the current devfile as the base Uri
2526
// +optional
2627
Uri string `json:"uri,omitempty"`
2728

pkg/apis/workspaces/v1alpha2/zz_generated.parent_overrides.go

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

schemas/latest/dev-workspace-template-spec.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1253,7 +1253,7 @@
12531253
"type": "string"
12541254
},
12551255
"uri": {
1256-
"description": "Uri of a Devfile yaml file",
1256+
"description": "Uri Reference of a Devfile yaml file, can be a full URL or a relative Uri with the current devfile as the base Uri",
12571257
"type": "string"
12581258
}
12591259
},
@@ -2472,7 +2472,7 @@
24722472
"type": "string"
24732473
},
24742474
"uri": {
2475-
"description": "Uri of a Devfile yaml file",
2475+
"description": "Uri Reference of a Devfile yaml file, can be a full URL or a relative Uri with the current devfile as the base Uri",
24762476
"type": "string"
24772477
}
24782478
},
@@ -2760,7 +2760,7 @@
27602760
}
27612761
},
27622762
"uri": {
2763-
"description": "Uri of a Devfile yaml file",
2763+
"description": "Uri Reference of a Devfile yaml file, can be a full URL or a relative Uri with the current devfile as the base Uri",
27642764
"type": "string"
27652765
}
27662766
},

schemas/latest/dev-workspace-template.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1418,7 +1418,7 @@
14181418
"type": "string"
14191419
},
14201420
"uri": {
1421-
"description": "Uri of a Devfile yaml file",
1421+
"description": "Uri Reference of a Devfile yaml file, can be a full URL or a relative Uri with the current devfile as the base Uri",
14221422
"type": "string"
14231423
}
14241424
},
@@ -2637,7 +2637,7 @@
26372637
"type": "string"
26382638
},
26392639
"uri": {
2640-
"description": "Uri of a Devfile yaml file",
2640+
"description": "Uri Reference of a Devfile yaml file, can be a full URL or a relative Uri with the current devfile as the base Uri",
26412641
"type": "string"
26422642
}
26432643
},
@@ -2925,7 +2925,7 @@
29252925
}
29262926
},
29272927
"uri": {
2928-
"description": "Uri of a Devfile yaml file",
2928+
"description": "Uri Reference of a Devfile yaml file, can be a full URL or a relative Uri with the current devfile as the base Uri",
29292929
"type": "string"
29302930
}
29312931
},

schemas/latest/dev-workspace.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1431,7 +1431,7 @@
14311431
"type": "string"
14321432
},
14331433
"uri": {
1434-
"description": "Uri of a Devfile yaml file",
1434+
"description": "Uri Reference of a Devfile yaml file, can be a full URL or a relative Uri with the current devfile as the base Uri",
14351435
"type": "string"
14361436
}
14371437
},
@@ -2650,7 +2650,7 @@
26502650
"type": "string"
26512651
},
26522652
"uri": {
2653-
"description": "Uri of a Devfile yaml file",
2653+
"description": "Uri Reference of a Devfile yaml file, can be a full URL or a relative Uri with the current devfile as the base Uri",
26542654
"type": "string"
26552655
}
26562656
},
@@ -2938,7 +2938,7 @@
29382938
}
29392939
},
29402940
"uri": {
2941-
"description": "Uri of a Devfile yaml file",
2941+
"description": "Uri Reference of a Devfile yaml file, can be a full URL or a relative Uri with the current devfile as the base Uri",
29422942
"type": "string"
29432943
}
29442944
},

schemas/latest/devfile.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1178,7 +1178,7 @@
11781178
"type": "string"
11791179
},
11801180
"uri": {
1181-
"description": "Uri of a Devfile yaml file",
1181+
"description": "Uri Reference of a Devfile yaml file, can be a full URL or a relative Uri with the current devfile as the base Uri",
11821182
"type": "string"
11831183
}
11841184
},
@@ -2453,7 +2453,7 @@
24532453
"type": "string"
24542454
},
24552455
"uri": {
2456-
"description": "Uri of a Devfile yaml file",
2456+
"description": "Uri Reference of a Devfile yaml file, can be a full URL or a relative Uri with the current devfile as the base Uri",
24572457
"type": "string"
24582458
}
24592459
},
@@ -2741,7 +2741,7 @@
27412741
}
27422742
},
27432743
"uri": {
2744-
"description": "Uri of a Devfile yaml file",
2744+
"description": "Uri Reference of a Devfile yaml file, can be a full URL or a relative Uri with the current devfile as the base Uri",
27452745
"type": "string"
27462746
}
27472747
},

schemas/latest/ide-targeted/dev-workspace-template-spec.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1382,9 +1382,9 @@
13821382
"type": "string"
13831383
},
13841384
"uri": {
1385-
"description": "Uri of a Devfile yaml file",
1385+
"description": "Uri Reference of a Devfile yaml file, can be a full URL or a relative Uri with the current devfile as the base Uri",
13861386
"type": "string",
1387-
"markdownDescription": "Uri of a Devfile yaml file"
1387+
"markdownDescription": "Uri Reference of a Devfile yaml file, can be a full URL or a relative Uri with the current devfile as the base Uri"
13881388
}
13891389
},
13901390
"additionalProperties": false,
@@ -2738,9 +2738,9 @@
27382738
"type": "string"
27392739
},
27402740
"uri": {
2741-
"description": "Uri of a Devfile yaml file",
2741+
"description": "Uri Reference of a Devfile yaml file, can be a full URL or a relative Uri with the current devfile as the base Uri",
27422742
"type": "string",
2743-
"markdownDescription": "Uri of a Devfile yaml file"
2743+
"markdownDescription": "Uri Reference of a Devfile yaml file, can be a full URL or a relative Uri with the current devfile as the base Uri"
27442744
}
27452745
},
27462746
"additionalProperties": false,
@@ -3068,9 +3068,9 @@
30683068
"markdownDescription": "Overrides of starterProjects encapsulated in a parent devfile. Overriding is done according to K8S strategic merge patch standard rules."
30693069
},
30703070
"uri": {
3071-
"description": "Uri of a Devfile yaml file",
3071+
"description": "Uri Reference of a Devfile yaml file, can be a full URL or a relative Uri with the current devfile as the base Uri",
30723072
"type": "string",
3073-
"markdownDescription": "Uri of a Devfile yaml file"
3073+
"markdownDescription": "Uri Reference of a Devfile yaml file, can be a full URL or a relative Uri with the current devfile as the base Uri"
30743074
}
30753075
},
30763076
"additionalProperties": false,

schemas/latest/ide-targeted/dev-workspace-template.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1580,9 +1580,9 @@
15801580
"type": "string"
15811581
},
15821582
"uri": {
1583-
"description": "Uri of a Devfile yaml file",
1583+
"description": "Uri Reference of a Devfile yaml file, can be a full URL or a relative Uri with the current devfile as the base Uri",
15841584
"type": "string",
1585-
"markdownDescription": "Uri of a Devfile yaml file"
1585+
"markdownDescription": "Uri Reference of a Devfile yaml file, can be a full URL or a relative Uri with the current devfile as the base Uri"
15861586
}
15871587
},
15881588
"additionalProperties": false,
@@ -2936,9 +2936,9 @@
29362936
"type": "string"
29372937
},
29382938
"uri": {
2939-
"description": "Uri of a Devfile yaml file",
2939+
"description": "Uri Reference of a Devfile yaml file, can be a full URL or a relative Uri with the current devfile as the base Uri",
29402940
"type": "string",
2941-
"markdownDescription": "Uri of a Devfile yaml file"
2941+
"markdownDescription": "Uri Reference of a Devfile yaml file, can be a full URL or a relative Uri with the current devfile as the base Uri"
29422942
}
29432943
},
29442944
"additionalProperties": false,
@@ -3266,9 +3266,9 @@
32663266
"markdownDescription": "Overrides of starterProjects encapsulated in a parent devfile. Overriding is done according to K8S strategic merge patch standard rules."
32673267
},
32683268
"uri": {
3269-
"description": "Uri of a Devfile yaml file",
3269+
"description": "Uri Reference of a Devfile yaml file, can be a full URL or a relative Uri with the current devfile as the base Uri",
32703270
"type": "string",
3271-
"markdownDescription": "Uri of a Devfile yaml file"
3271+
"markdownDescription": "Uri Reference of a Devfile yaml file, can be a full URL or a relative Uri with the current devfile as the base Uri"
32723272
}
32733273
},
32743274
"additionalProperties": false,

schemas/latest/ide-targeted/dev-workspace.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1593,9 +1593,9 @@
15931593
"type": "string"
15941594
},
15951595
"uri": {
1596-
"description": "Uri of a Devfile yaml file",
1596+
"description": "Uri Reference of a Devfile yaml file, can be a full URL or a relative Uri with the current devfile as the base Uri",
15971597
"type": "string",
1598-
"markdownDescription": "Uri of a Devfile yaml file"
1598+
"markdownDescription": "Uri Reference of a Devfile yaml file, can be a full URL or a relative Uri with the current devfile as the base Uri"
15991599
}
16001600
},
16011601
"additionalProperties": false,
@@ -2949,9 +2949,9 @@
29492949
"type": "string"
29502950
},
29512951
"uri": {
2952-
"description": "Uri of a Devfile yaml file",
2952+
"description": "Uri Reference of a Devfile yaml file, can be a full URL or a relative Uri with the current devfile as the base Uri",
29532953
"type": "string",
2954-
"markdownDescription": "Uri of a Devfile yaml file"
2954+
"markdownDescription": "Uri Reference of a Devfile yaml file, can be a full URL or a relative Uri with the current devfile as the base Uri"
29552955
}
29562956
},
29572957
"additionalProperties": false,
@@ -3279,9 +3279,9 @@
32793279
"markdownDescription": "Overrides of starterProjects encapsulated in a parent devfile. Overriding is done according to K8S strategic merge patch standard rules."
32803280
},
32813281
"uri": {
3282-
"description": "Uri of a Devfile yaml file",
3282+
"description": "Uri Reference of a Devfile yaml file, can be a full URL or a relative Uri with the current devfile as the base Uri",
32833283
"type": "string",
3284-
"markdownDescription": "Uri of a Devfile yaml file"
3284+
"markdownDescription": "Uri Reference of a Devfile yaml file, can be a full URL or a relative Uri with the current devfile as the base Uri"
32853285
}
32863286
},
32873287
"additionalProperties": false,

0 commit comments

Comments
 (0)