kubeapps icon indicating copy to clipboard operation
kubeapps copied to clipboard

Feature Request: Uninstall Operators

Open lengrongfu opened this issue 4 years ago • 3 comments

Does kubeapps not support the management operator? Currently, it can only be deployed, but cannot be uninstalled. Are these functions currently not supported?

lengrongfu avatar Jan 18 '21 13:01 lengrongfu

Hello,

At the moment, it's not possible to delete a Kubernetes Operator from Kubeapps UI. It has not been implemented yet. For doing so you can follow a guide like this one: https://olm.operatorframework.io/docs/tasks/uninstall-operator/

andresmgot avatar Jan 18 '21 15:01 andresmgot

Okay, @andresmgot so will this feature be developed? Is there a current development plan? If possible, I can contribute.

lengrongfu avatar Jan 19 '21 02:01 lengrongfu

At the moment this feature has not been added to the roadmap of the project. Contributions are welcomed! I am afraid it's not a trivial feature though. We would need to add the code for:

  • Deleting subscriptions and clusterserviceversions (dashboard/src/shared/Operators.ts)
  • Include the new actions (dashboard/src/actions/operators.ts)
  • Adapt the related reducer (dashboard/src/reducers/operators.ts)
  • Add the functionality to the component (dashboard/src/components/OperatorView.tsx)

andresmgot avatar Jan 19 '21 08:01 andresmgot