Update HTML javacsript

This commit is contained in:
Jonathan Ervine 2020-12-16 12:13:15 +08:00
parent 258793c6d8
commit 665afb5183

View File

@ -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")