From 6b9bbc0ed3a1e22bf7bc3012c8b15647f0a1efc5 Mon Sep 17 00:00:00 2001 From: David van der Spek <28541758+DavidSpek@users.noreply.github.com> Date: Tue, 12 Sep 2023 17:11:46 +0200 Subject: [PATCH] fix: properly pass arguments to template on push (#447) Signed-off-by: David van der Spek --- cmd/plural/push.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/plural/push.go b/cmd/plural/push.go index c56c3683..833a3446 100644 --- a/cmd/plural/push.go +++ b/cmd/plural/push.go @@ -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 { @@ -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 }