Add new page for the cluster creation
What does this MR do and why?
As we are deprecating the certificate-based clusters creation/connection, we have already introduced a feature flag certificate_based_clusters
that disables this functionality.
This MR introduces the new page for cluster creation. The page is available on the project level and leads users to the docs links.
The MR also changes the Actions menu on the Infrastructure -> Kubernetes clusters page.
On Project level
- Feature flag is enabled (
certificate_based_clusters: true
)-
Actions menu shows 3 actions with the separator. -
3 tabs are available for the Clusters page. -
Create new cluster leads to /clusters/new
with two buttons that open forms. -
Connect existing cluster leads to clusters/connect
with the form.
-
-
Feature flag is disabled (
certificate_based_clusters: false
)-
Actions menu shows 2 actions without a separator. -
1 tab is available for the Clusters page. -
Create and connect new cluster leads to /clusters/create_cluster
with two buttons that open documentation. -
cluster/connect
returns404
-
cluster/new
returns404
-
On Group and Instance levels
-
The Kubernetes sidebar menu is hidden. -
/admin/clusters
page returns 404. -
/groups/<group>/-/clusters
page returns 404.
Screenshots or screen recordings (updated)
The dropdown for the disabled feature flag:
The dropdown for the enabled feature flag on project level:
The dropdown for the enabled feature flag on group/admin level:
Create cluster page
/clusters/new (deprecated page) |
/clusters/create_cluster (new page) |
---|---|
How to set up and validate locally
- Set
certificate_based_clusters
to false. - Visit Infrastructure -> Kubernetes clusters page and validate the Actions dropdown.
- From the dropdown select Create a new cluster and validate the page.
- Create a new cluster page should render links to the documentation.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Review progress:
-
UX review -
UI text review -
backend developer review -
backend maintainer review -
frontend developer review -
frontend maintainer review
Related to #352721 (closed)
Edited by Anna Vovchenko