pub async fn is_resource_watched<T>(
resource: &T,
kanidm: &Kanidm,
namespace_store: &Store<Namespace>,
k8s_client: &Client,
) -> boolwhere
T: KanidmResource,Expand description
Generic function to check if a resource is watched based on namespace selectors
This function implements the common logic for checking whether a resource should be reconciled based on the namespace selector configuration in the referenced Kanidm resource.