Use one operator to manage multiple CRDs #814
Replies: 2 comments 2 replies
-
It should work, you are doing it right. Can you please explain how exactly that does not work? Specifically, the setup and code snippets (CRD yamls) so that I could reproduce the case where it does not work. To know the resource, there is a kwarg named
Also, you can use |
Beta Was this translation helpful? Give feedback.
-
Hi @nolar, Apologies for the delay. Yes. It works now. It was a typo on my part that caused the confusion. Also, thanks for the pointer to "resource.kind". I am now able to process CRs based on their kind. How can we return messages to kubectl output in case of any failure during creation/deletion? Thanks |
Beta Was this translation helpful? Give feedback.
-
How do I use one operator to manage multiple crds?
The above doesn't work.
Also, how do I get the kind of Custom Resource inside the create_fn? "kind" argument does not work.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions