Controller read resource another controller

22 views
Skip to first unread message

Rafael Tomelin

unread,
Jan 18, 2023, 2:43:31 AM1/18/23
to kubebuilder
Hi guys,

I'm creating the controller with Kubebuilder.  The first controller  has resource and the second controller doesn't resource.

My Question, How can second controller read the resource from first controller?  or. How I get the namespace that the controller will be create? different the namespace that resource will create?

Thanks!

Ruxun Wagn

unread,
Apr 3, 2023, 7:44:47 AM4/3/23
to kubebuilder
I thins you can use kubuconfig,kubeconfig used to connect one k8s cluster to another.
Reply all
Reply to author
Forward
0 new messages