From 14d4886e6176dc629704ccd1e38871ef90699422 Mon Sep 17 00:00:00 2001 From: Andrey Pokhilko Date: Mon, 31 Oct 2022 18:07:28 +0000 Subject: [PATCH] Pass the NS param from Helm correctly (#64) --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index dbe7dc2..4176147 100644 --- a/main.go +++ b/main.go @@ -53,7 +53,7 @@ func main() { } func parseFlags() options { - opts := options{} + opts := options{Namespace: os.Getenv("HELM_NAMESPACE")} args, err := flags.Parse(&opts) if err != nil { if e, ok := err.(*flags.Error); ok {