Skip to content

Commit

Permalink
feat: add devel options for helmcharts
Browse files Browse the repository at this point in the history
  • Loading branch information
milkshake308 committed Feb 12, 2025
1 parent 3be1af6 commit fdc60f4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/internal/builtins/HelmChartInflationGenerator.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions api/types/helmchartargs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,9 @@ func (p *plugin) pullCommand() []string {
if p.Version != "" {
args = append(args, "--version", p.Version)
}
if p.Devel {
args = append(args, "--devel")
}
return args
}

Expand Down

0 comments on commit fdc60f4

Please sign in to comment.