registry: default database.enabled to "prefer"

What does this MR do and why?

Changes the default value of registry['database']['enabled'] from "false" to "prefer".

With "prefer" mode, fresh installations using GitLab-managed PostgreSQL automatically enable the metadata database. Existing deployments using external PostgreSQL are unaffected — parse_database_configuration already overrides "prefer" to "false" when embedded PostgreSQL is disabled, preserving backward compatibility.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Closes #9396 (closed)

Edited by João Alexandre Cunha

Merge request reports

Loading