File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -80,9 +80,14 @@ func DownloadCmd() *cobra.Command {
80
80
if err != nil {
81
81
panic (err )
82
82
}
83
+ // Create a copy of the spec to download additional images without writing changes to the filesystem
84
+ dlSpec , err := deployer .GetChannelSpec ("" )
85
+ if err != nil {
86
+ panic (err )
87
+ }
83
88
84
89
// Enable weave-trace in the chart values
85
- spec .Values ["weave-trace" ] = map [string ]interface {}{
90
+ dlSpec .Values ["weave-trace" ] = map [string ]interface {}{
86
91
"install" : true ,
87
92
"image" : map [string ]interface {}{
88
93
"tag" : weaveTraceTag ,
@@ -94,7 +99,7 @@ func DownloadCmd() *cobra.Command {
94
99
spec .Chart .URL ,
95
100
spec .Chart .Name ,
96
101
spec .Chart .Version ,
97
- spec .Values ,
102
+ dlSpec .Values ,
98
103
)
99
104
100
105
imgs := utils .RemoveDuplicates (append (wandbImgs , operatorImgs ... ))
You can’t perform that action at this time.
0 commit comments