Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If we need to remove PVC and PV when delete MongoDB operator #51

Open
horis233 opened this issue Mar 4, 2020 · 2 comments
Open

If we need to remove PVC and PV when delete MongoDB operator #51

horis233 opened this issue Mar 4, 2020 · 2 comments
Assignees

Comments

@horis233
Copy link
Contributor

horis233 commented Mar 4, 2020

@kgcarr
If we need to remove PVC and PV when deleting MongoDB.

If we don't need to we can remove the function addControlleronPVC
https://github.com/IBM/ibm-mongodb-operator/blob/master/pkg/controller/mongodb/mongodb_controller.go#L315

@horis233
Copy link
Contributor Author

horis233 commented Mar 9, 2020

Common services operators don’t need to specify spec.customresourcedefinitions.required in their CSV.

In the Q1 release, there is no dependency management from ODLM, all the required operators need to be added into OperandRequest instance.

In the Q2 release, operators will use OperandRequest to manage their own dependencies.

@kgcarr
Copy link
Member

kgcarr commented Mar 24, 2020

To protect the customer, I don't think we should have the operator delete the PV. If we uninstall and re-install to fix a problem, their data should still exist. When the customer knows they will not want the data anymore they will have to delete manually. @horis233

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants