Merge pull request #3292 from Shell32-Natsu/helm-extra-args

Add field extraArgs to helm generator
This commit is contained in:
Kubernetes Prow Robot
2020-11-30 19:50:49 -08:00
committed by GitHub
3 changed files with 12 additions and 7 deletions

View File

@@ -1,6 +1,8 @@
// Code generated by pluginator on HelmChartInflationGenerator; DO NOT EDIT.
// pluginator {unknown 1970-01-01T00:00:00Z }
package builtins
import (
@@ -125,6 +127,7 @@ func (p *HelmChartInflationGeneratorPlugin) getTemplateCommandArgs() []string {
if p.Values != "" {
args = append(args, "--values", p.Values)
}
args = append(args, p.ExtraArgs...)
return args
}
@@ -174,5 +177,5 @@ func (p *HelmChartInflationGeneratorPlugin) checkHelmVersion() error {
}
func NewHelmChartInflationGeneratorPlugin() resmap.GeneratorPlugin {
return &HelmChartInflationGeneratorPlugin{}
return &HelmChartInflationGeneratorPlugin{}
}