mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-22 09:54:07 +02:00
Add "PostRendererArgs" option to be passed to helm (#1133)
* Add "PostRendererArgs" option to be passed to helm This allows using PowerShell scripts on Windows as Post Renderer. Signed-off-by: Maarten Boekhold <maarten.boekhold@finastra.com>
This commit is contained in:
@@ -42,6 +42,8 @@ type DiffOptions struct {
|
||||
ResetValues bool
|
||||
// Propagate '--post-renderer' to helmv3 template and helm install
|
||||
PostRenderer string
|
||||
// Propagate '--post-renderer-args' to helmv3 template and helm install
|
||||
PostRendererArgs []string
|
||||
// DiffArgs is the list of arguments to pass to helm-diff.
|
||||
DiffArgs string
|
||||
}
|
||||
@@ -185,3 +187,8 @@ func (t *DiffImpl) ResetValues() bool {
|
||||
func (t *DiffImpl) PostRenderer() string {
|
||||
return t.DiffOptions.PostRenderer
|
||||
}
|
||||
|
||||
// PostRendererArgs returns the PostRendererArgs.
|
||||
func (t *DiffImpl) PostRendererArgs() []string {
|
||||
return t.DiffOptions.PostRendererArgs
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user