feat: add devel options for helmcharts

This commit is contained in:
milkshake308
2025-02-12 23:52:47 +01:00
parent 3be1af6798
commit c5f69b002f
3 changed files with 12 additions and 0 deletions

View File

@@ -99,6 +99,9 @@ type HelmChart struct {
// debug enables debug output from the Helm chart inflator generator.
Debug bool `json:"debug,omitempty" yaml:"debug,omitempty"`
// allow for devel release to be used.
Devel bool `json:"devel,omitempty" yaml:"devel,omitempty"`
}
// HelmChartArgs contains arguments to helm.
@@ -194,5 +197,8 @@ func (h HelmChart) AsHelmArgs(absChartHome string) []string {
if h.Debug {
args = append(args, "--debug")
}
if h.Devel {
args = append(args, "--devel")
}
return args
}