Merge pull request #3832 from cehoffman/helm-chart-namespace

Add ability to set target namespace for helm chart template
This commit is contained in:
Kubernetes Prow Robot
2021-05-11 13:09:13 -07:00
committed by GitHub
3 changed files with 132 additions and 21 deletions

View File

@@ -51,6 +51,10 @@ type HelmChart struct {
// If omitted, the flag --generate-name is passed to 'helm template'.
ReleaseName string `json:"releaseName,omitempty" yaml:"releaseName,omitempty"`
// Namespace set the target namespace for a release. It is .Release.Namespace
// in the helm template
Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"`
// ValuesFile is local file path to a values file to use _instead of_
// the default values that accompanied the chart.
// The default values are in '{ChartHome}/{Name}/values.yaml'.