Fix chart list to use helm3
This commit is contained in:
parent
a8a7a19fdd
commit
92868a3307
@ -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']
|
||||
|
||||
@ -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"})
|
||||
Loading…
Reference in New Issue
Block a user