diff --git a/main.py b/main.py index 1651edf..0382304 100644 --- a/main.py +++ b/main.py @@ -53,8 +53,8 @@ def get_deployments(namespace): return data def get_charts(tiller_ns, namespace): - command = "/usr/bin/helm --tiller-namespace " + tiller_ns + " list -ojson" #helm2 - #command = "/usr/bin/helm -n " + namespace + " list -ojson" #helm3 + command = "/usr/local/bin/helm --tiller-namespace " + tiller_ns + " list -ojson" #helm2 + #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") @@ -66,8 +66,8 @@ def get_charts(tiller_ns, namespace): return data def get_chartdata(tiller_ns, namespace, chart): - command = "/usr/bin/helm --tiller-namespace " + tiller_ns + " history " + chart + " -ojson" #helm2 - #command = "/usr/bin/helm -n " + namespace + " history " + chart + " -ojson" #helm3 + command = "/usr/local/bin/helm --tiller-namespace " + tiller_ns + " history " + chart + " -ojson" #helm2 + #command = "/usr/local/bin/helm -n " + namespace + " history " + chart + " -ojson" #helm3 info(f"Running command: {command}") print(f"Running command: {command}") try: diff --git a/templates/nameChartSelect.html b/templates/nameChartSelect.html index 48057a5..3cc8764 100644 --- a/templates/nameChartSelect.html +++ b/templates/nameChartSelect.html @@ -44,12 +44,11 @@ - dd