Replies: 1 comment
-
after little bit of hacking around i came with this: `import kopf @kopf.on.create('children')
it performs the cascading delete i was hoping for... is there a better approach? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Started using kopf pretty recently. its great!! also kind of new k8s in general...
I have a pretty simple scenario. Two crds, parent and child... parent is created first, the child is created sometime later, but not by the parent... is there a way for child object to get itself adapted by the parent instance using kopf.adopt() method. it would greatly simplify or even eliminate my cascading delete code.
Thanks in advance...
Beta Was this translation helpful? Give feedback.
All reactions