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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

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