What does this MR do?
Add Kubernetes Integration for the following endpoints:
GET :id/clusters # Returns project clusters
GET :id/clusters/:cluster_id # Returns specific cluster
POST :id/clusters/user # Add a cluster to the project. Same as "Add existing Cluster" from UI
PUT :id/clusters/:cluster_id # Update existing cluster
DELETE :id/clusters/:cluster_id # Removes cluster
EE counterpart: gitlab-ee!8994
What are the relevant issue numbers?
https://gitlab.com/gitlab-org/gitlab-ce/issues/40473
Does this MR meet the acceptance criteria?
Backend - To do
Manual QA
Manual QA was done using an EE environment
GET :id/clusters - Returns project clusters
| With developer & maintainer access |
|
GET :id/clusters/:cluster_id - Returns specific cluster
| With developer & maintainer access |
|
POST :id/clusters/user - Add a cluster to the project. Same as "Add existing Cluster" from UI
| With valid params |
With invalid params |
|
|
PUT :id/clusters/:cluster_id - Update existing cluster
| With user cluster |
With gcp cluster |
|
|
DELETE :id/clusters/:cluster_id - Removes cluster
| With existing cluster |
With unknown cluster |
|
|