scylla-operator
scylla-operator copied to clipboard
Collect related objects for ScyllaClusters and ScyllaDBMonitorings in must-gather
Description of your changes:
This PR adds support for collecting related resources for ScyllaClusters and ScyllaDBMonitorings. Because not all resources are connected through ownerReferences we dump the same namespace and don't filter the objects. Some examples of where ownerRefs wouldn't works are Services, Endpoints or other objects that don't have a direct relationship but affect say firewall rules (like NetworkPolicy). In the end, dumping all the objects in the same namespace seems like the best path.
Which issue is resolved by this Pull Request: Resolves #1568