File tree 1 file changed +41
-0
lines changed
pkg/library/flatten/testdata/volume_merging
1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : " Merges volume components from parent and plugins"
2
+
3
+ input :
4
+ devworkspace :
5
+ parent :
6
+ uri : " parent"
7
+ components :
8
+ - name : normal-workspace-volume
9
+ volume : {}
10
+ - name : " plugin-1"
11
+ plugin :
12
+ uri : " plugin-1"
13
+ devfileResources :
14
+ " parent " :
15
+ schemaVersion : 2.0.0
16
+ metadata :
17
+ name : " parent"
18
+ components :
19
+ - name : new-parent-volume
20
+ volume : {}
21
+ " plugin-1 " :
22
+ schemaVersion : 2.0.0
23
+ metadata :
24
+ name : " plugin-1"
25
+ components :
26
+ - name : new-plugin-1-volume
27
+ volume : {}
28
+
29
+ output :
30
+ devworkspace :
31
+ components :
32
+ - name : normal-workspace-volume
33
+ volume : {}
34
+ - name : new-parent-volume
35
+ attributes :
36
+ " controller.devfile.io/imported-by " : parent
37
+ volume : {}
38
+ - name : new-plugin-1-volume
39
+ attributes :
40
+ " controller.devfile.io/imported-by " : plugin-1
41
+ volume : {}
You can’t perform that action at this time.
0 commit comments