diff --git a/main.py b/main.py index 9fa1e69..028d9e0 100644 --- a/main.py +++ b/main.py @@ -49,9 +49,8 @@ def get_deployments(namespace): data = json.loads(output) return data -def get_charts(tiller_ns, namespace): - command = "/usr/local/bin/helm --tiller-namespace " + tiller_ns + " list --output json" #helm2 - #command = "/usr/local/bin/helm -n " + namespace + " list -ojson" #helm3 +def get_charts(ns): + command = "/usr/local/bin/helm -n " + namespace + " list -ojson" #helm3 info(f"Running command: {command}") try: output = check_output(command.split(" "), stderr=STDOUT).decode("utf-8")