Merge branch 'master' of git.ervine.org:jonny/flask-python-helm

This commit is contained in:
Jon Ervine 2021-04-06 15:27:58 +08:00
commit 7f181a08b8
2 changed files with 2 additions and 3 deletions

View File

@ -14,8 +14,8 @@ RUN apk update && \
adduser -D python && \ adduser -D python && \
mkdir /data && cd /data && git clone --single-branch --branch issue-#2 https://github.com/jervine-gogo/python-helm-web /data && \ mkdir /data && cd /data && git clone --single-branch --branch issue-#2 https://github.com/jervine-gogo/python-helm-web /data && \
pip3 install -r /data/requirements.txt && \ pip3 install -r /data/requirements.txt && \
curl -L https://get.helm.sh/helm-v2.13.1-linux-amd64.tar.gz -o /tmp/helm-2.13.1.tgz && \ curl -L https://get.helm.sh/helm-v3.4.2-linux-amd64.tar.gz -o /tmp/helm-3.4.2.tgz && \
tar -zxvf /tmp/helm-2.13.1.tgz --strip-components=1 -C /usr/local/bin linux-amd64/helm && \ tar -zxvf /tmp/helm-3.4.2.tgz --strip-components=1 -C /usr/local/bin linux-amd64/helm && \
rm -rf /tmp/src && rm -rf /var/cache/apk/* rm -rf /tmp/src && rm -rf /var/cache/apk/*
EXPOSE 3000 EXPOSE 3000

View File

@ -23,7 +23,6 @@ def chartVersions():
table.classes = ['table-striped', 'table-condensed', 'table-hover'] table.classes = ['table-striped', 'table-condensed', 'table-hover']
return render_template('chartRevisionList.html', table=table) return render_template('chartRevisionList.html', table=table)
@routes.route('/nsLookup/<ns>') @routes.route('/nsLookup/<ns>')
def namespaceLookup(ns): def namespaceLookup(ns):
charts = get_charts(ns) charts = get_charts(ns)