Started to use python client
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user