Container Registry cannot disabled globally in 12.9.0-ee
We have two environments. In Env-A with 12.9.0-ee directly installed, Container Registry is always enabled regardless of the settings in gitlab.rb which work as expect in Env-B.
In Env-B with 12.8.1-ee installed initially and then upgraded to 12.9.0-ee, Container Registry was disabled (service not started) until adding the following settings in gitlab.rb:
registry_external_url 'https://vcs.mycompany.com:5050' gitlab_rails['registry_enabled'] = true gitlab_rails['registry_host'] = "vcs.mycompany.com" gitlab_rails['registry_port'] = "5050" gitlab_rails['registry_path'] = "/var/opt/gitlab/gitlab-rails/shared/registry"
And setting gitlab_rails['registry_enabled'] to "true" or "false" can enable or disable Container Registry globally as expected.
Why is Env-A's result not reflecting the same settings? How to globally disable/enable Container Registry or CI/CD features?