From ce897f11a0650b0d6938cb506a030ef00160ab7a Mon Sep 17 00:00:00 2001 From: Dylan Griffith Date: Mon, 23 Jul 2018 16:35:19 +0200 Subject: Refactor Cluster Application classes to pass through a has of config files This is refactoring in the lead up to passing mutual TLS certs for helm applications. As such we expect all applications to need config files so we can remove the logic about which applications need and do not need this (ie `#config_map?`). --- app/models/clusters/concerns/application_data.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'app/models/clusters/concerns') diff --git a/app/models/clusters/concerns/application_data.rb b/app/models/clusters/concerns/application_data.rb index 96ac757e99e..215a299dd03 100644 --- a/app/models/clusters/concerns/application_data.rb +++ b/app/models/clusters/concerns/application_data.rb @@ -12,6 +12,12 @@ module Clusters File.read(chart_values_file) end + def files + { + 'values.yaml': values + } + end + private def chart_values_file -- cgit v1.2.3