Merge branch 'gitlab_kubernetes_helm_bump' into 'master'
Bump helm and kubectl for Kubernetes integration See merge request gitlab-org/gitlab-ce!25268
This commit is contained in:
commit
b0006630d6
3 changed files with 8 additions and 3 deletions
5
changelogs/unreleased/gitlab_kubernetes_helm_bump.yml
Normal file
5
changelogs/unreleased/gitlab_kubernetes_helm_bump.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Bump Helm and kubectl used in Kubernetes integration to 2.12.3 and 1.11.7 respectively
|
||||
merge_request: 25268
|
||||
author:
|
||||
type: other
|
|
@ -3,8 +3,8 @@
|
|||
module Gitlab
|
||||
module Kubernetes
|
||||
module Helm
|
||||
HELM_VERSION = '2.12.2'.freeze
|
||||
KUBECTL_VERSION = '1.11.0'.freeze
|
||||
HELM_VERSION = '2.12.3'.freeze
|
||||
KUBECTL_VERSION = '1.11.7'.freeze
|
||||
NAMESPACE = 'gitlab-managed-apps'.freeze
|
||||
SERVICE_ACCOUNT = 'tiller'.freeze
|
||||
CLUSTER_ROLE_BINDING = 'tiller-admin'.freeze
|
||||
|
|
|
@ -30,7 +30,7 @@ describe Gitlab::Kubernetes::Helm::Pod do
|
|||
it 'should generate the appropriate specifications for the container' do
|
||||
container = subject.generate.spec.containers.first
|
||||
expect(container.name).to eq('helm')
|
||||
expect(container.image).to eq('registry.gitlab.com/gitlab-org/cluster-integration/helm-install-image/releases/2.12.2-kube-1.11.0')
|
||||
expect(container.image).to eq('registry.gitlab.com/gitlab-org/cluster-integration/helm-install-image/releases/2.12.3-kube-1.11.7')
|
||||
expect(container.env.count).to eq(3)
|
||||
expect(container.env.map(&:name)).to match_array([:HELM_VERSION, :TILLER_NAMESPACE, :COMMAND_SCRIPT])
|
||||
expect(container.command).to match_array(["/bin/sh"])
|
||||
|
|
Loading…
Reference in a new issue