You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: check the environment of the service info #346
The registry's service info sets its own environment (service_info.service.environment), and custom.endpoints.services.environments lists the values allowed for services. Nothing checks that the two agree, so a registry can describe itself with a value it would refuse for any service.
To do
Refuse to start if the service info's environment isn't in custom.endpoints.services.environments, with an error naming both settings.
An empty list allows any value, as it does for services, so the check doesn't apply then. The same goes for a service info without environment.
Decide what happens with the defaults (dev, which the default list allows) and say so in the docs and the upgrade notes, as deployments with a mismatch no longer start.
Activity