Decide on how to handle REPLACE in registration
Problem: There are currently two places where registration replacement is defined:
-
registrar-config.yamlwhere for each route, it is possible to define itsroute.replace. Additionallyconfig.defaultReplace=truefrom core chart values sets theroute.replaceof all configured routes unless defined specifically for a route. - ENV variable
REGISTRAR_REPLACEsets a boolean flag--replace/--no-replaceCLI parameter for registrar redis daemon, which then sets ALL theroute.replaceto this value
Summarized - currently ENV variable always overrides all the route.replace configs for a daemon at runtime, even if ENV var was empty (as in that case, the flag is set to --no-replace).