Merge branch '49830-use-helm-272' into 'master'

Use Helm 2.7.2 for GitLab Managed Apps

Closes #49830

See merge request gitlab-org/gitlab-ce!20956
This commit is contained in:
Dmitriy Zaporozhets 2018-08-02 09:41:05 +00:00
commit 3cc420b809
3 changed files with 7 additions and 2 deletions

View File

@ -0,0 +1,5 @@
---
title: Use Helm 2.7.2 for GitLab Managed Apps
merge_request: 20956
author:
type: changed

View File

@ -1,7 +1,7 @@
module Gitlab
module Kubernetes
module Helm
HELM_VERSION = '2.7.0'.freeze
HELM_VERSION = '2.7.2'.freeze
NAMESPACE = 'gitlab-managed-apps'.freeze
end
end

View File

@ -7,7 +7,7 @@ shared_examples 'helm commands' do
echo http://mirror.clarkson.edu/alpine/v$ALPINE_VERSION/main >> /etc/apk/repositories
echo http://mirror1.hs-esslingen.de/pub/Mirrors/alpine/v$ALPINE_VERSION/main >> /etc/apk/repositories
apk add -U wget ca-certificates openssl >/dev/null
wget -q -O - https://kubernetes-helm.storage.googleapis.com/helm-v2.7.0-linux-amd64.tar.gz | tar zxC /tmp >/dev/null
wget -q -O - https://kubernetes-helm.storage.googleapis.com/helm-v2.7.2-linux-amd64.tar.gz | tar zxC /tmp >/dev/null
mv /tmp/linux-amd64/helm /usr/bin/
EOS
end