Omnibus uses the Container Registry API to determine if the instance is using an external registry

Problem to solve

New features only supported by the GitLab Container Registry fork are becoming more common and the necessity to support other registries requires workarounds and fallback options.

We need a way to determine whether the registry being used is the GitLab Container Registry or a third-party registry. This allows us to toggle specific features based on the registry type.

Intended users

Proposal

Once we have updated the Gitlab Container Registry API to pass configuration options AND have created a rake task that will ping that API and return the result, we will have Omnibus call this rake task whenever a self-managed instance is reconfigured.

This will allow us to use the type of the registry and its supported features to toggle Container Registry features in runtime and better understand how to prioritize future features.

Permissions and Security

  • There are no permissions changes required for this change

Documentation

Availability & Testing

What does success look like, and how can we measure that?

What is the type of buyer?

Is this a cross-stage feature?

Links / references