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 Sep 12, 2023
1 parent dc829f9 commit de457f9
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 de457f9

Please sign in to comment.