Hi all,
I recently converted my operator from single-group to multi-group, because I want the operator to handle another CustomResource (CR).
In single-group mode, I have a singleton data structure, to have just one ClientSet per K8S type.. I now try to share that data structure between the two reconcilers..
First question is : am I on the wrong track ?
Second question : if sharing data is allowed, how do I do that ?
( so far I tried creating the Manager with a BaseContext Option where I stuffed my data structure in , using context.WithValue(), but then the reconcilers apparently do not have that context.. )
Thanks for any help !