Skip to content

Commit

Permalink
fix: properly pass arguments to template on push (#447)
Browse files Browse the repository at this point in the history
Signed-off-by: David van der Spek <[email protected]>
  • Loading branch information
davidspek authored and michaeljguarino committed Aug 28, 2024
1 parent 7c16f3e commit 6b9bbc0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/plural/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ func handleHelmTemplate(c *cli.Context) error {
_ = os.Remove(name)
}(f.Name())

name := "default"
namespace := "default"
actionConfig, err := helm.GetActionConfig(namespace)
if err != nil {
Expand All @@ -112,7 +113,7 @@ func handleHelmTemplate(c *cli.Context) error {
if err != nil {
return err
}
res, err := helm.Template(actionConfig, c.Args().Get(0), namespace, "./", false, false, values)
res, err := helm.Template(actionConfig, name, namespace, c.Args().Get(0), false, false, values)
if err != nil {
return err
}
Expand Down

0 comments on commit 6b9bbc0

Please sign in to comment.