kubebuilder
kubebuilder copied to clipboard
Access resource of another CRD
trafficstars
What do you want to happen?
I am creating a CR controller where I get a configuration value. I need to further go and edit this value into the config of another CR.
For example, I take a namespace name 'x' and I need to add a new pipeline in another CR 'y'. Manually I would do
kubectl edit y
and then change. However I am trying to do it using kubebuilder through my CR. Is it even possible? How can I access resources of another CR in my operator.
Extra Labels
No response