Skip to content

Initialize EKS clusters form for instance and group level clusters

Enrique Alcántara requested to merge eks-group-and-instance-clusters into master

What does this MR do?

This MR is part of delivering #22392 (closed). It does not deliver the whole feature. It only delivers the functionality described below:

A user can integrate a Kubernetes cluster at three levels in GitLab:

  • Project level (Project page -> Sidebar Menu -> Operations -> Kubernetes)
  • Group level (Group page -> Sidebar Menu -> Kubernetes)
  • Instance level (Admin Interface -> Sidebar Menu -> Kubernetes)

This MR initializes the "Create AWS EKS Cluster" Vue app at these three levels.

No user-facing changes

  • Encapsulates create_cluster initialization in a single entry point function to make easier the initialization in multiple places.

Testing

Before testing

How to test

Open the Create cluster UI in these three places:

  • Project level (Project page -> Sidebar Menu -> Operations -> Kubernetes)
  • Group level (Group page -> Sidebar Menu -> Kubernetes)
  • Instance level (Admin Interface -> Sidebar Menu -> Kubernetes)

If everything works correctly, you should see the following behavior in the three places:

When the user clicks Amazon EKS button, it displays Create EKS Cluster form. It changes the tab title to "Create new Cluster on EKS"

When the user clicks "Google GKE", it should be redirected to the Create GKE Cluster form.

Edited by 🤖 GitLab Bot 🤖

Merge request reports