diff options
author | Amit Rathi <amit@hypertrack.io> | 2018-11-23 01:41:37 +0530 |
---|---|---|
committer | Amit Rathi <amit@hypertrack.io> | 2018-11-23 01:41:37 +0530 |
commit | 09c3c95d2db02cbaf199e14ee3926c4135983003 (patch) | |
tree | c4a9baec7fd67630474d10cc9fecf497ece663c3 /app | |
parent | 16248dc895b0abd2e5304e9092e0291a8b891ced (diff) | |
download | gitlab-ce-09c3c95d2db02cbaf199e14ee3926c4135983003.tar.gz |
cert manager changes based on review comments
Diffstat (limited to 'app')
-rw-r--r-- | app/models/clusters/applications/cert_manager.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/models/clusters/applications/cert_manager.rb b/app/models/clusters/applications/cert_manager.rb index 922f4a880f0..5147819b86e 100644 --- a/app/models/clusters/applications/cert_manager.rb +++ b/app/models/clusters/applications/cert_manager.rb @@ -39,10 +39,14 @@ module Clusters def cluster_issuer_file { - 'cluster_issuer.yaml': cluster_issuer_content.deep_merge(cluster_issue_overlay) + 'cluster_issuer.yaml': cluster_issuer_yaml_content } end + def cluster_issuer_yaml_content + YAML.dump(cluster_issuer_content.deep_merge(cluster_issue_overlay)) + end + def cluster_issuer_content YAML.load_file(cluster_issuer_file_path) end |