-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Add a reverse index of a CRDs resources #88
Comments
This still relevant ? |
What do you mean by "relevant"? There is no code in Bonny to manage a reverse index on the parent resource. It is relevant if people need it, right? |
Yes it is relevant if people need it. But did anyone need it? It's just my curiosity. |
metadata.ownerReferences
isn't a field that can be queried w/ field selectors, so to get all the items created by a CRD it would required polling all kinds/all resources which sucks.The 'reverse index' or 'inventory' would include track all the resources created by this CRD. inspiration
This could be useful for looking up resources, not necessary for bonny itself, but it could be a nice helper for a controller that needed to find resources that it created.
This won't be needed for deletion once #49 is implemented, as garbage collection will be handled by k8s.
The text was updated successfully, but these errors were encountered: