fix: helmfile should pass release names to `helm template` (#365)
Fixes #360
This commit is contained in:
		
							parent
							
								
									b94265122f
								
							
						
					
					
						commit
						2eb13c25c5
					
				|  | @ -957,7 +957,9 @@ func (state *HelmState) flagsForUpgrade(helm helmexec.Interface, release *Releas | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| func (state *HelmState) flagsForTemplate(helm helmexec.Interface, release *ReleaseSpec) ([]string, error) { | func (state *HelmState) flagsForTemplate(helm helmexec.Interface, release *ReleaseSpec) ([]string, error) { | ||||||
| 	flags := []string{} | 	flags := []string{ | ||||||
|  | 		"--name", release.Name, | ||||||
|  | 	} | ||||||
| 	common, err := state.namespaceAndValuesFlags(helm, release) | 	common, err := state.namespaceAndValuesFlags(helm, release) | ||||||
| 	if err != nil { | 	if err != nil { | ||||||
| 		return nil, err | 		return nil, err | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue