Merge branch '55716-update-cert-manager-chart-from-v0-5-0-to-v0-5-2' into 'master'

Update cert-manager chart from v0.5.0 to v0.5.2

Closes #55716

See merge request gitlab-org/gitlab-ce!24025
This commit is contained in:
Sean McGivern 2018-12-31 08:49:20 +00:00
commit 1860117556
3 changed files with 9 additions and 4 deletions

View file

@ -3,7 +3,7 @@
module Clusters
module Applications
class CertManager < ActiveRecord::Base
VERSION = 'v0.5.0'.freeze
VERSION = 'v0.5.2'.freeze
self.table_name = 'clusters_applications_cert_managers'

View file

@ -0,0 +1,5 @@
---
title: Update cert-manager chart from v0.5.0 to v0.5.2
merge_request: 24025
author: Takuya Noguchi
type: other

View file

@ -14,7 +14,7 @@ describe Clusters::Applications::CertManager do
let(:application) { create(:clusters_applications_cert_managers, :scheduled, version: 'v0.4.0') }
it 'updates the application version' do
expect(application.reload.version).to eq('v0.5.0')
expect(application.reload.version).to eq('v0.5.2')
end
end
end
@ -28,7 +28,7 @@ describe Clusters::Applications::CertManager do
it 'should be initialized with cert_manager arguments' do
expect(subject.name).to eq('certmanager')
expect(subject.chart).to eq('stable/cert-manager')
expect(subject.version).to eq('v0.5.0')
expect(subject.version).to eq('v0.5.2')
expect(subject).not_to be_rbac
expect(subject.files).to eq(cert_manager.files.merge(cluster_issuer_file))
expect(subject.postinstall).to eq(['/usr/bin/kubectl create -f /data/helm/certmanager/config/cluster_issuer.yaml'])
@ -57,7 +57,7 @@ describe Clusters::Applications::CertManager do
let(:cert_manager) { create(:clusters_applications_cert_managers, :errored, version: '0.0.1') }
it 'should be initialized with the locked version' do
expect(subject.version).to eq('v0.5.0')
expect(subject.version).to eq('v0.5.2')
end
end
end