Pass the NS param from Helm correctly (#64)

This commit is contained in:
Andrey Pokhilko
2022-10-31 18:07:28 +00:00
committed by GitHub
parent 0012b0a797
commit 14d4886e61

View File

@@ -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 {