issue-#1 #5

Merged
jonny merged 18 commits from issue-#1 into master 2020-12-16 15:48:56 +00:00
2 changed files with 2 additions and 4 deletions
Showing only changes of commit 92868a3307 - Show all commits

View File

@ -14,11 +14,10 @@ def index():
@routes.route('/chartSelect', methods=['POST'])
def chartVersions():
tiller_ns = request.form['tiller_ns']
chart = request.form['chart']
records = request.form['records']
namespace = 'default'
chartVersions = get_chartdata(tiller_ns, namespace, chart, records)
namespace = request.form['ns']
chartVersions = get_chartdata(namespace, chart, records)
table = chartVersionTable(chartVersions)
table.border = True
table.classes = ['table-striped', 'table-condensed', 'table-hover']

View File

@ -4,7 +4,6 @@ class chartVersionTable(Table):
revision = Col('Chart Revision')
updated = Col('Updated')
status = Col('Status')
tiller_ns = Col('Tiiler Namespace')
chart = Col('Chart Version')
description = Col('Description')
deploy = ButtonCol('Deploy', 'routes.deployChartRevision', url_kwargs=dict(revision='revision', chart='chartName', tiller_ns='tiller_ns'), button_attrs={"type" : "submit", "class" : "btn btn-danger"})