summaryrefslogtreecommitdiff
path: root/app/models/clusters
diff options
context:
space:
mode:
authorAlishan Ladhani <aladhani@gitlab.com>2019-08-22 17:40:59 -0400
committerAlishan Ladhani <aladhani@gitlab.com>2019-09-05 23:33:04 -0400
commit88904b2a5fc604d19def3045b293caeabf60a728 (patch)
tree7dadbff962cbafc09e95aa26c2468bb29a4f8cfb /app/models/clusters
parent34822489d3633746592615cbd3e4bcc5b70a5d13 (diff)
downloadgitlab-ce-88904b2a5fc604d19def3045b293caeabf60a728.tar.gz
Enable Knative installation on group and instance level clusters
- Show Knative install button on group/instance cluster pages - Allow Knative to be installed on group/instance clusters - Add feature specs for installing applications on group/instance clusters - Add changelog entry - Update docs to reflect that Knative can now be installed on group-level and instance-level clusters
Diffstat (limited to 'app/models/clusters')
-rw-r--r--app/models/clusters/cluster.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/clusters/cluster.rb b/app/models/clusters/cluster.rb
index ef1af1fc8bc..a976093ac0c 100644
--- a/app/models/clusters/cluster.rb
+++ b/app/models/clusters/cluster.rb
@@ -10,7 +10,6 @@ module Clusters
self.table_name = 'clusters'
PROJECT_ONLY_APPLICATIONS = {
- Applications::Knative.application_name => Applications::Knative
}.freeze
APPLICATIONS = {
Applications::Helm.application_name => Applications::Helm,
@@ -18,7 +17,8 @@ module Clusters
Applications::CertManager.application_name => Applications::CertManager,
Applications::Prometheus.application_name => Applications::Prometheus,
Applications::Runner.application_name => Applications::Runner,
- Applications::Jupyter.application_name => Applications::Jupyter
+ Applications::Jupyter.application_name => Applications::Jupyter,
+ Applications::Knative.application_name => Applications::Knative
}.merge(PROJECT_ONLY_APPLICATIONS).freeze
DEFAULT_ENVIRONMENT = '*'
KUBE_INGRESS_BASE_DOMAIN = 'KUBE_INGRESS_BASE_DOMAIN'