The system-default-registry Setting default value comes from CATTLE_BASE_REGISTRY env.
In the r/r chart we provide a field systemDefaultRegistry which sets the CATTLE_SYSTEM_DEFAULT_REGISTRY value - this is the auto cattle Env for the setting.
This can be found used in 2 domains - first where it is set and used is cattle-cluster-agent-bootstrap deployment.