Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
ce038417
Commit
ce038417
authored
Dec 25, 2018
by
Takuya Noguchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update cert-manager chart from v0.5.0 to v0.5.2
Signed-off-by:
Takuya Noguchi
<
takninnovationresearch@gmail.com
>
parent
5dc656fc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
app/models/clusters/applications/cert_manager.rb
app/models/clusters/applications/cert_manager.rb
+1
-1
changelogs/unreleased/55716-update-cert-manager-chart-from-v0-5-0-to-v0-5-2.yml
...55716-update-cert-manager-chart-from-v0-5-0-to-v0-5-2.yml
+5
-0
spec/models/clusters/applications/cert_manager_spec.rb
spec/models/clusters/applications/cert_manager_spec.rb
+3
-3
No files found.
app/models/clusters/applications/cert_manager.rb
View file @
ce038417
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
module
Clusters
module
Clusters
module
Applications
module
Applications
class
CertManager
<
ActiveRecord
::
Base
class
CertManager
<
ActiveRecord
::
Base
VERSION
=
'v0.5.
0
'
.
freeze
VERSION
=
'v0.5.
2
'
.
freeze
self
.
table_name
=
'clusters_applications_cert_managers'
self
.
table_name
=
'clusters_applications_cert_managers'
...
...
changelogs/unreleased/55716-update-cert-manager-chart-from-v0-5-0-to-v0-5-2.yml
0 → 100644
View file @
ce038417
---
title
:
Update cert-manager chart from v0.5.0 to v0.5.2
merge_request
:
24025
author
:
Takuya Noguchi
type
:
other
spec/models/clusters/applications/cert_manager_spec.rb
View file @
ce038417
...
@@ -14,7 +14,7 @@ describe Clusters::Applications::CertManager do
...
@@ -14,7 +14,7 @@ describe Clusters::Applications::CertManager do
let
(
:application
)
{
create
(
:clusters_applications_cert_managers
,
:scheduled
,
version:
'v0.4.0'
)
}
let
(
:application
)
{
create
(
:clusters_applications_cert_managers
,
:scheduled
,
version:
'v0.4.0'
)
}
it
'updates the application version'
do
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
end
end
end
...
@@ -28,7 +28,7 @@ describe Clusters::Applications::CertManager do
...
@@ -28,7 +28,7 @@ describe Clusters::Applications::CertManager do
it
'should be initialized with cert_manager arguments'
do
it
'should be initialized with cert_manager arguments'
do
expect
(
subject
.
name
).
to
eq
(
'certmanager'
)
expect
(
subject
.
name
).
to
eq
(
'certmanager'
)
expect
(
subject
.
chart
).
to
eq
(
'stable/cert-manager'
)
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
).
not_to
be_rbac
expect
(
subject
.
files
).
to
eq
(
cert_manager
.
files
.
merge
(
cluster_issuer_file
))
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'
])
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
...
@@ -57,7 +57,7 @@ describe Clusters::Applications::CertManager do
let
(
:cert_manager
)
{
create
(
:clusters_applications_cert_managers
,
:errored
,
version:
'0.0.1'
)
}
let
(
:cert_manager
)
{
create
(
:clusters_applications_cert_managers
,
:errored
,
version:
'0.0.1'
)
}
it
'should be initialized with the locked version'
do
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
end
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment