Skip to content

delete unused CRD after operator uninstall #2677

Open
@zfrhv

Description

@zfrhv

Feature Request

Is your feature request related to a problem? Please describe.
Each time after deleting an operator, we have to maually delete all of the CRD's.
not only its not that easy, but its also a lot of work
and some people dont even know to deal with operators, all they need is to press the install and uninstall button

the cluster if full with many different types of crd's that are being collected as trash

Describe the solution you'd like
I understand that some CR that werent deleted or forgotten are dependent on the CRD.
so would it be possible at the end of operator uninstallation to see which CRD is not being used,
and if its not being used then delete that crd?

(being used i mean no any custom resource exists)

Metadata

Metadata

Assignees

No one assigned

    Labels

    api/v2Relates to the new OLM apiskind/featureCategorizes issue or PR as related to a new feature.triagedIssue has been considered by a member of the OLM community

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions