Added helm2 specifics

This commit is contained in:
jenkins-x-bot
2020-09-14 13:55:18 +08:00
parent 17443ee1ea
commit 4b2dca4355
4 changed files with 15 additions and 20 deletions
+6 -9
View File
@@ -26,15 +26,12 @@ def chartVersions():
return render_template('chartRevisionList.html', table=table, namespace=namespace)
@routes.route('/nsLookup/<tiller>/<namespace>')
def namespaceLookup(tiller, namespace):
charts = get_charts(tiller, namespace)
@routes.route('/nsLookup/<tiller>/<namespace>/<tiller_ns>')
def namespaceLookup(tiller, namespace, tiller_ns):
charts = get_charts(tiller, namespace, tiller_ns)
return jsonify(charts)
@routes.route('/deployChartRevision/<revision>/<chart>/<namespace>', methods=['POST'])
def deployChartRevision(revision, chart, namespace):
print(revision)
print(chart)
print(namespace)
charts = get_charts(namespace)
@routes.route('/deployChartRevision/<revision>/<chart>/<namespace>/<tiller_ns>', methods=['POST'])
def deployChartRevision(revision, chart, namespace, tiller_ns):
charts = get_charts(tiller_ns, namespace)
return jsonify(charts)