diff options
author | Mayra Cabrera <mcabrera@gitlab.com> | 2018-03-01 23:46:02 +0000 |
---|---|---|
committer | Kamil TrzciĆski <ayufan@ayufan.eu> | 2018-03-01 23:46:02 +0000 |
commit | c607008ee55e35465e04a938a341f2f24cb6761f (patch) | |
tree | 5fbabbeec70c9129b5db9b184d7620dbc35aaac2 /app/models/clusters/applications/ingress.rb | |
parent | 947a7f858765fdbad2f4084bed24994329d62337 (diff) | |
download | gitlab-ce-c607008ee55e35465e04a938a341f2f24cb6761f.tar.gz |
Extend Cluster Applications to install GitLab Runner to Kubernetes cluster
Diffstat (limited to 'app/models/clusters/applications/ingress.rb')
-rw-r--r-- | app/models/clusters/applications/ingress.rb | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/app/models/clusters/applications/ingress.rb b/app/models/clusters/applications/ingress.rb index 9f583342c19..27fc3b85465 100644 --- a/app/models/clusters/applications/ingress.rb +++ b/app/models/clusters/applications/ingress.rb @@ -5,6 +5,7 @@ module Clusters include ::Clusters::Concerns::ApplicationCore include ::Clusters::Concerns::ApplicationStatus + include ::Clusters::Concerns::ApplicationData include AfterCommitQueue default_value_for :ingress_type, :nginx @@ -29,12 +30,12 @@ module Clusters 'stable/nginx-ingress' end - def chart_values_file - "#{Rails.root}/vendor/#{name}/values.yaml" - end - def install_command - Gitlab::Kubernetes::Helm::InstallCommand.new(name, chart: chart, chart_values_file: chart_values_file) + Gitlab::Kubernetes::Helm::InstallCommand.new( + name, + chart: chart, + values: values + ) end def schedule_status_update |