@@ -735,8 +735,9 @@ spec:
735
735
Kubernetes Custom Resources"
736
736
properties :
737
737
commands :
738
- description : Overrides of commands encapsulated in a plugin.
739
- Overriding is done using a strategic merge
738
+ description : Overrides of commands encapsulated in a parent
739
+ devfile or a plugin. Overriding is done using a strategic
740
+ merge patch
740
741
items :
741
742
properties :
742
743
apply :
@@ -1108,11 +1109,12 @@ spec:
1108
1109
type : array
1109
1110
components :
1110
1111
description : Overrides of components encapsulated in a plugin.
1111
- Overriding is done using a strategic merge
1112
+ Overriding is done using a strategic merge patch. A plugin
1113
+ cannot override embedded plugin components.
1112
1114
items :
1113
1115
properties :
1114
1116
componentType :
1115
- description : Type of component override
1117
+ description : Type of component override for a plugin
1116
1118
enum :
1117
1119
- Container
1118
1120
- Kubernetes
@@ -1121,7 +1123,7 @@ spec:
1121
1123
type : string
1122
1124
container :
1123
1125
description : Configuration overriding for a Container
1124
- component
1126
+ component in a plugin
1125
1127
properties :
1126
1128
args :
1127
1129
description : " The arguments to supply to the command
@@ -1275,7 +1277,7 @@ spec:
1275
1277
type : object
1276
1278
kubernetes :
1277
1279
description : Configuration overriding for a Kubernetes
1278
- component
1280
+ component in a plugin
1279
1281
properties :
1280
1282
endpoints :
1281
1283
items :
@@ -1368,7 +1370,7 @@ spec:
1368
1370
type : object
1369
1371
openshift :
1370
1372
description : Configuration overriding for an OpenShift
1371
- component
1373
+ component in a plugin
1372
1374
properties :
1373
1375
endpoints :
1374
1376
items :
@@ -1461,6 +1463,7 @@ spec:
1461
1463
type : object
1462
1464
volume :
1463
1465
description : Configuration overriding for a Volume component
1466
+ in a plugin
1464
1467
properties :
1465
1468
name :
1466
1469
description : Mandatory name that allows referencing
@@ -1561,7 +1564,8 @@ spec:
1561
1564
description : Parent workspace template
1562
1565
properties :
1563
1566
commands :
1564
- description : Predefined, ready-to-use, workspace-related commands
1567
+ description : Overrides of commands encapsulated in a parent devfile
1568
+ or a plugin. Overriding is done using a strategic merge patch
1565
1569
items :
1566
1570
properties :
1567
1571
apply :
@@ -1911,8 +1915,8 @@ spec:
1911
1915
type : object
1912
1916
type : array
1913
1917
components :
1914
- description : List of the workspace components, such as editor and
1915
- plugins, user-provided containers, or other types of components
1918
+ description : Overrides of components encapsulated in a parent devfile.
1919
+ Overriding is done using a strategic merge patch
1916
1920
items :
1917
1921
properties :
1918
1922
componentType :
@@ -2287,8 +2291,9 @@ spec:
2287
2291
Kubernetes Custom Resources"
2288
2292
properties :
2289
2293
commands :
2290
- description : Overrides of commands encapsulated in a plugin.
2291
- Overriding is done using a strategic merge
2294
+ description : Overrides of commands encapsulated in a parent
2295
+ devfile or a plugin. Overriding is done using a strategic
2296
+ merge patch
2292
2297
items :
2293
2298
properties :
2294
2299
apply :
@@ -2664,11 +2669,12 @@ spec:
2664
2669
type : array
2665
2670
components :
2666
2671
description : Overrides of components encapsulated in a
2667
- plugin. Overriding is done using a strategic merge
2672
+ plugin. Overriding is done using a strategic merge patch.
2673
+ A plugin cannot override embedded plugin components.
2668
2674
items :
2669
2675
properties :
2670
2676
componentType :
2671
- description : Type of component override
2677
+ description : Type of component override for a plugin
2672
2678
enum :
2673
2679
- Container
2674
2680
- Kubernetes
@@ -2677,7 +2683,7 @@ spec:
2677
2683
type : string
2678
2684
container :
2679
2685
description : Configuration overriding for a Container
2680
- component
2686
+ component in a plugin
2681
2687
properties :
2682
2688
args :
2683
2689
description : " The arguments to supply to the
@@ -2836,7 +2842,7 @@ spec:
2836
2842
type : object
2837
2843
kubernetes :
2838
2844
description : Configuration overriding for a Kubernetes
2839
- component
2845
+ component in a plugin
2840
2846
properties :
2841
2847
endpoints :
2842
2848
items :
@@ -2934,7 +2940,7 @@ spec:
2934
2940
type : object
2935
2941
openshift :
2936
2942
description : Configuration overriding for an OpenShift
2937
- component
2943
+ component in a plugin
2938
2944
properties :
2939
2945
endpoints :
2940
2946
items :
@@ -3032,7 +3038,7 @@ spec:
3032
3038
type : object
3033
3039
volume :
3034
3040
description : Configuration overriding for a Volume
3035
- component
3041
+ component in a plugin
3036
3042
properties :
3037
3043
name :
3038
3044
description : Mandatory name that allows referencing
@@ -3097,41 +3103,6 @@ spec:
3097
3103
type : object
3098
3104
type : object
3099
3105
type : array
3100
- events :
3101
- description : Bindings of commands to events. Each command is referred-to
3102
- by its name.
3103
- properties :
3104
- postStart :
3105
- description : Names of commands that should be executed after
3106
- the workspace is completely started. In the case of Che-Theia,
3107
- these commands should be executed after all plugins and extensions
3108
- have started, including project cloning. This means that those
3109
- commands are not triggered until the user opens the IDE in
3110
- his browser.
3111
- items :
3112
- type : string
3113
- type : array
3114
- postStop :
3115
- description : Names of commands that should be executed after
3116
- stopping the workspace.
3117
- items :
3118
- type : string
3119
- type : array
3120
- preStart :
3121
- description : Names of commands that should be executed before
3122
- the workspace start. Kubernetes-wise, these commands would
3123
- typically be executed in init containers of the workspace
3124
- POD.
3125
- items :
3126
- type : string
3127
- type : array
3128
- preStop :
3129
- description : Names of commands that should be executed before
3130
- stopping the workspace.
3131
- items :
3132
- type : string
3133
- type : array
3134
- type : object
3135
3106
id :
3136
3107
description : Id in a registry that contains a Devfile yaml file
3137
3108
type : string
@@ -3154,8 +3125,8 @@ spec:
3154
3125
- name
3155
3126
type : object
3156
3127
projects :
3157
- description : Projects worked on in the workspace, containing names
3158
- and sources locations
3128
+ description : Overrides of projects encapsulated in a parent devfile.
3129
+ Overriding is done using a strategic merge patch.
3159
3130
items :
3160
3131
properties :
3161
3132
clonePath :
@@ -3249,103 +3220,6 @@ spec:
3249
3220
type : array
3250
3221
registryUrl :
3251
3222
type : string
3252
- starterProjects :
3253
- description : StarterProjects is a project that can be used as a
3254
- starting point when bootstrapping new projects
3255
- items :
3256
- properties :
3257
- clonePath :
3258
- description : Path relative to the root of the projects to
3259
- which this project should be cloned into. This is a unix-style
3260
- relative path (i.e. uses forward slashes). The path is invalid
3261
- if it is absolute or tries to escape the project root through
3262
- the usage of '..'. If not specified, defaults to the project
3263
- name.
3264
- type : string
3265
- custom :
3266
- description : Project's Custom source
3267
- properties :
3268
- embeddedResource :
3269
- type : object
3270
- x-kubernetes-embedded-resource : true
3271
- x-kubernetes-preserve-unknown-fields : true
3272
- projectSourceClass :
3273
- type : string
3274
- required :
3275
- - embeddedResource
3276
- - projectSourceClass
3277
- type : object
3278
- description :
3279
- description : Description of a starter project
3280
- type : string
3281
- git :
3282
- description : Project's Git source
3283
- properties :
3284
- branch :
3285
- description : The branch to check
3286
- type : string
3287
- location :
3288
- description : Project's source location address. Should
3289
- be URL for git and github located projects, or; file://
3290
- for zip
3291
- type : string
3292
- sparseCheckoutDir :
3293
- description : Part of project to populate in the working
3294
- directory.
3295
- type : string
3296
- startPoint :
3297
- description : The tag or commit id to reset the checked
3298
- out branch to
3299
- type : string
3300
- type : object
3301
- github :
3302
- description : Project's GitHub source
3303
- properties :
3304
- branch :
3305
- description : The branch to check
3306
- type : string
3307
- location :
3308
- description : Project's source location address. Should
3309
- be URL for git and github located projects, or; file://
3310
- for zip
3311
- type : string
3312
- sparseCheckoutDir :
3313
- description : Part of project to populate in the working
3314
- directory.
3315
- type : string
3316
- startPoint :
3317
- description : The tag or commit id to reset the checked
3318
- out branch to
3319
- type : string
3320
- type : object
3321
- name :
3322
- description : Project name
3323
- type : string
3324
- sourceType :
3325
- description : Type of project source
3326
- enum :
3327
- - Git
3328
- - Github
3329
- - Zip
3330
- - Custom
3331
- type : string
3332
- zip :
3333
- description : Project's Zip source
3334
- properties :
3335
- location :
3336
- description : Project's source location address. Should
3337
- be URL for git and github located projects, or; file://
3338
- for zip
3339
- type : string
3340
- sparseCheckoutDir :
3341
- description : Part of project to populate in the working
3342
- directory.
3343
- type : string
3344
- type : object
3345
- required :
3346
- - name
3347
- type : object
3348
- type : array
3349
3223
uri :
3350
3224
description : Uri of a Devfile yaml file
3351
3225
type : string
0 commit comments