Update HTML javacsript
This commit is contained in:
parent
258793c6d8
commit
665afb5183
5
main.py
5
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")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user