Update HelmChartInflationGenerator.go

This commit is contained in:
Jeff Regan
2021-05-19 17:34:44 -07:00
committed by GitHub
parent c1bca9cd62
commit 36408a120c

View File

@@ -267,6 +267,9 @@ func (p *HelmChartInflationGeneratorPlugin) templateCommand() []string {
if p.ReleaseName != "" {
args = append(args, p.ReleaseName)
}
if p.Namespace != "" {
args = append(args, "--namespace", p.Namespace)
}
args = append(args, filepath.Join(p.absChartHome(), p.Name))
if p.ValuesFile != "" {
args = append(args, "--values", p.ValuesFile)