b21730116e
This reverts merge request !20801
23 lines
377 B
Ruby
23 lines
377 B
Ruby
module Clusters
|
|
module Concerns
|
|
module ApplicationData
|
|
extend ActiveSupport::Concern
|
|
|
|
included do
|
|
def repository
|
|
nil
|
|
end
|
|
|
|
def values
|
|
File.read(chart_values_file)
|
|
end
|
|
|
|
private
|
|
|
|
def chart_values_file
|
|
"#{Rails.root}/vendor/#{name}/values.yaml"
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|