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

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
This commit is contained in:
Takuya Noguchi 2018-12-25 18:49:52 +09:00
parent 5dc656fc1f
commit ce03841761
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