-
-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
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
spec:
resources:
- selfLink: "/v1/pods/namespace/default/foo"
# or
- name: foo
namespace: default
kind: Pod
apiVersion: v1This 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels