-
I'm looking for a way to send a reconcile request to my custom resource (CR) controller when there is an update to a centralized config map (not owned by CR) and located in a different namespace. Note: I don't have a reference to the the config map in my CR spec. But I do know where the configmap is. Wondering how I can watch just this specific resource From the docs, https://book.kubebuilder.io/reference/watching-resources/externally-managed.html |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@poojitha-bikki You can watch configmaps with your custom handler, in which you find the CR that should be triggered by this changed configmap and put the CR request into workqueue. |
Beta Was this translation helpful? Give feedback.
-
Closing this one |
Beta Was this translation helpful? Give feedback.
@poojitha-bikki You can watch configmaps with your custom handler, in which you find the CR that should be triggered by this changed configmap and put the CR request into workqueue.