Skip to content

Top level clusters controller

Thong Kuah requested to merge top_level_clusters_controller into master

EE counterpart MR

What does this MR do?

Requisite step for https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22450

Create a top level ClustersController that we can use for both project (now) and group-level clusters (https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22450), and maybe instance-level clusters (future)

Goals

  • Keep route compatibility with existing <namespace>/<project>/clusters, which means no major front-end changes needed.
  • Allow for easy swap of project with group at a later stage

Tasks

  • specs for ClusterPresenter#show_path
  • specs for ClusterablePresenter
  • fabricate? for Project ?

What are the relevant issue numbers?

#34758 (closed)

Does this MR meet the acceptance criteria?

Edited by Thong Kuah

Merge request reports