Create registry default database for new installations

What does this MR do?

Create registry default database

With this change we will allow creating a new registry database with a default username when postgres.install is set to true

This will allow new installations to be ready to enable the registry metadata database.

A new registry-database-password secret has been added to the shared-secrets. This new secret will be used as the registry database password for the database name.

Related issues

Related to Provide the container registry DB by default fo... (#5931 - closed).

Author checklist

For general guidance, please follow our Contributing guide.

Required

For anything in this list which will not be completed, please provide a reason in the MR discussion.

  • Merge Request Title and Description are up to date, accurate, and descriptive.
  • MR targeting the appropriate branch.
  • MR has a green pipeline.
  • Documentation created/updated.
  • Tests added/updated, and test plan for scenarios not covered by automated tests.
  • Equivalent MR/issue for omnibus-gitlab opened.

Reviewers checklist

Edited by Jaime Martinez

Merge request reports

Loading