Open nikhars opened 1 day ago
Isn't the ops repo still using its own version of sentry-kube? People are still making changes there, would it be more sensible to make this change inside the ops repo in order not to have the two implementations diverge ?
Description
Since the service registry is moving to its own repository, we need a mechanism to get the relevant data from there. This PR introduces a mechanism which first checks whether the service registry package is installed or not. If yes, uses the file from the package. If not, falls back to hardcoded path from before.
Local testing
Added this test code to see the path being resolved
Output Without the sentry-service-registry, notice the path
With sentry-service-registry installed, notice the path printed at the end of the test