Skip to content

Garbage Collection enhancement and documentation #6378

@squakez

Description

@squakez

Requirement

We may enhance the garbage collection by providing a list of resources we can and want to delete instead of checking the API. It would be more reliable and avoid a stressfull API call to check the entire list of APIs available in the cluster. Whatever resource we want to include for the operator to be managed is already listed between the roles assigned to the operator SA. We can either check that role to verify the "deletable" resources or directly create a twin inmemory map (similarly of what we're already doing) to know the resources we can delete.

Additionally we'd need to add a documentation to explain generation and how the garbage collection works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions