From 7e98a6023f5fec7b313dca38f295f1e453679f3e Mon Sep 17 00:00:00 2001
From: jenkins-x-bot
Date: Mon, 14 Sep 2020 12:34:46 +0800
Subject: [PATCH] Fixed helm location
---
main.py | 8 ++++----
templates/nameChartSelect.html | 3 +--
2 files changed, 5 insertions(+), 6 deletions(-)
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