summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2017-11-06 10:48:38 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2017-11-06 10:48:38 +0100
commit8ef73aaaf461ad7fe2b7e351c28c7dfc150bedf0 (patch)
treec47f24624daa6d727d1bfa9e227061e1e18be182
parentd8223468ae2ae061020cc26336c51dc93cc75571 (diff)
downloadgitlab-ce-8ef73aaaf461ad7fe2b7e351c28c7dfc150bedf0.tar.gz
Set installation paths
-rw-r--r--app/views/projects/clusters/show.html.haml5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/projects/clusters/show.html.haml b/app/views/projects/clusters/show.html.haml
index 799b07046e5..75cfeb08b34 100644
--- a/app/views/projects/clusters/show.html.haml
+++ b/app/views/projects/clusters/show.html.haml
@@ -6,9 +6,8 @@
- status_path = status_namespace_project_cluster_path(@cluster.project.namespace, @cluster.project, @cluster.id, format: :json) if can?(current_user, :admin_cluster, @cluster)
.edit-cluster-form.js-edit-cluster-form{ data: { status_path: status_path,
- install_helm_path: 'TODO',
- install_ingress_path: 'TODO',
- install_runner_path: 'TODO',
+ install_helm_path: install_applications_namespace_project_cluster_path(@cluster.project.namespace, @cluster.project, @cluster, :helm),
+ install_ingress_path: install_applications_namespace_project_cluster_path(@cluster.project.namespace, @cluster.project, @cluster, :ingress),
toggle_status: @cluster.enabled? ? 'true': 'false',
cluster_status: @cluster.status_name,
cluster_status_reason: @cluster.status_reason,