Skip to content

Remove cleanup button for clusters with management project

What does this MR do?

This MR removes resource cleanup option from clusters that have management project. Such clusters can't cleanup resources for applications installed through the cluster management project. Previously this wasn't an issue because all models we had for cluster applications were uninstallable but with a plan to add CI based apps into models this will no longer be the case.

related discussion is here: !34688 (comment 369135695)

Screenshots

without management project with management project
Screenshot_2020-07-06_Kubernetes_Cluster___Administrator_cilium-test_1_ Screenshot_2020-07-06_Kubernetes_Cluster___Administrator_cilium-test

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

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
Edited by Arthur Evstifeev

Merge request reports