diff options
author | Amit Rathi <amit@hypertrack.io> | 2018-11-19 20:36:18 +0300 |
---|---|---|
committer | Amit Rathi <amit@hypertrack.io> | 2018-11-19 20:36:18 +0300 |
commit | 9737cc8ab0f421213a5e36309741589beea88aa5 (patch) | |
tree | 475238a922a797edbb23deccfef01b25335a039f /app/models/clusters/applications/cert_manager.rb | |
parent | 95e3a80edbb2c47353bdff13659cafd5c4564b5d (diff) |
Cleaned up cert_manager
Diffstat (limited to 'app/models/clusters/applications/cert_manager.rb')
-rw-r--r-- | app/models/clusters/applications/cert_manager.rb | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/app/models/clusters/applications/cert_manager.rb b/app/models/clusters/applications/cert_manager.rb index 4159cbd31de..1804f4ed219 100644 --- a/app/models/clusters/applications/cert_manager.rb +++ b/app/models/clusters/applications/cert_manager.rb @@ -13,15 +13,7 @@ module Clusters include ::Clusters::Concerns::ApplicationData default_value_for :version, VERSION - - def ready_status - [:installed] - end - - def ready? - ready_status.include?(status_name) - end - + def chart 'stable/cert-manager' end @@ -32,7 +24,7 @@ module Clusters version: VERSION, rbac: cluster.platform_kubernetes_rbac?, chart: chart, - files: files.merge!(cluster_issuer_file), + files: files.merge(cluster_issuer_file), postinstall: post_install_script ) end @@ -61,4 +53,3 @@ module Clusters end end end -
\ No newline at end of file |