fix: helmfile should pass release names to helm template (#365)

Fixes #360
This commit is contained in:
KUOKA Yusuke
2018-09-27 02:22:18 +09:00
committed by GitHub
parent b94265122f
commit 2eb13c25c5
+3 -1
View File
@@ -957,7 +957,9 @@ func (state *HelmState) flagsForUpgrade(helm helmexec.Interface, release *Releas
}
func (state *HelmState) flagsForTemplate(helm helmexec.Interface, release *ReleaseSpec) ([]string, error) {
flags := []string{}
flags := []string{
"--name", release.Name,
}
common, err := state.namespaceAndValuesFlags(helm, release)
if err != nil {
return nil, err