Started to use python client

This commit is contained in:
Jonathan Ervine
2020-12-15 22:58:35 +08:00
parent 04b96d9442
commit 6770612d74
3 changed files with 8 additions and 16 deletions
+3 -3
View File
@@ -7,10 +7,10 @@ import json
@routes.route('/', methods=['GET', 'POST'])
def index():
tiller_ns = get_tiller_namespaces()
ns = get_namespaces()
form = deploySelectForm()
form.tiller_ns.choices = [(name['metadata']['namespace'], name['metadata']['namespace']) for name in tiller_ns['items']]
return render_template('nameChartSelect.html', tiller_ns=tiller_ns, form=form)
form.ns.choices = [(name['metadata']['name'], name['metadata']['name']) for name in ns['items']]
return render_template('nameChartSelect.html', ns=ns, form=form)
@routes.route('/chartSelect', methods=['POST'])
def chartVersions():