WIP: Copy applications from one cluster to another
What does this MR do?
Copy the database application rows from one cluster to a newly created cluster when the clusters appear similar
This is just an MR to spark discussion around this issue. A heavy handed approach to address #33761 (closed)
Screenshots
Does this MR meet the acceptance criteria?
Conformity
- [-] Changelog entry
- [-] Documentation (if required)
- [-] Code review guidelines
- [-] Merge request performance guidelines
- [-] Style guides
- [-] Database guides
- [-] Separation of EE specific content
Availability and Testing
DO NOT MERGE
Security
DO NOT MERGE - authorization needs to be addressed when copying applications to a project. This change would allow an attacker with knowledge of the api_url, ca_cert and token to use a GitLab instance against a k8s cluster.
If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:
-
Label as security and @ mention @gitlab-com/gl-security/appsec
-
The MR includes necessary changes to maintain consistency between UI, API, email, or other methods -
Security reports checked/validated by a reviewer from the AppSec team