summaryrefslogtreecommitdiff
path: root/app/views/clusters
diff options
context:
space:
mode:
authorChris Baumbauer <cab@cabnetworks.net>2018-12-13 07:39:44 -0800
committerChris Baumbauer <cab@cabnetworks.net>2019-01-04 14:53:39 -0800
commit47cb5a2641e840bca4f7fc15d93d78b2a6fca306 (patch)
tree06c84ec084ff71d952cb44582ad8a15bf1723c30 /app/views/clusters
parentb97b85c37e77e5d37705cb2d3a60161896585420 (diff)
downloadgitlab-ce-47cb5a2641e840bca4f7fc15d93d78b2a6fca306.tar.gz
Require Knative to be installed only on an RBAC kubernetes cluster
Diffstat (limited to 'app/views/clusters')
-rw-r--r--app/views/clusters/clusters/show.html.haml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/clusters/clusters/show.html.haml b/app/views/clusters/clusters/show.html.haml
index b1aa8e5d477..89a2dfdd69f 100644
--- a/app/views/clusters/clusters/show.html.haml
+++ b/app/views/clusters/clusters/show.html.haml
@@ -16,6 +16,7 @@
install_jupyter_path: clusterable.install_applications_cluster_path(@cluster, :jupyter),
install_knative_path: clusterable.install_applications_cluster_path(@cluster, :knative),
toggle_status: @cluster.enabled? ? 'true': 'false',
+ has_rbac: @cluster.platform_kubernetes_rbac? ? 'true': 'false',
cluster_type: @cluster.cluster_type,
cluster_status: @cluster.status_name,
cluster_status_reason: @cluster.status_reason,