New 🌊 wave for @helm

Commit d4864080

d48640803ff5Merged

zhilyaev <[email protected]> · 5 years ago · 7 files · ~7 modified

Description

refactor rel.cfg

Details

Commit
d48640803ff5
Parent
313828631191

pkg/release/config.gomodifiedView file

@@ -57,7 +57,7 @@
5757 }
5858
5959 func (rel *Config) newInstall() *action.Install {
60- client := action.NewInstall(rel.cfg)
60+ client := action.NewInstall(rel.Cfg())
6161
6262 // Only Up
6363 client.CreateNamespace = rel.CreateNamespace
@@ -85,7 +85,7 @@
8585 }
8686
8787 func (rel *Config) newUpgrade() *action.Upgrade {
88- client := action.NewUpgrade(rel.cfg)
88+ client := action.NewUpgrade(rel.Cfg())
8989 // Only Upgrade
9090 client.CleanupOnFail = rel.CleanupOnFail
9191 client.MaxHistory = rel.MaxHistory