Add ability to set target namespace for helm chart template

This commit is contained in:
Chris Hoffman
2021-04-22 18:31:26 -05:00
parent 06add3ab35
commit 53f78260a9
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'.