Skip to content

Add configuration flag -disable-gitlab-api-config-source

Jaime Martinez requested to merge add-enable-domain-source-api-flag into master

Adds support for -disable-gitlab-api-config-source boolean default to false. Expects -gitlab-server and -api-secret-key to be set. This will be the default behavior for pages. However, it requires the /api/v4/internal/pages/status endpoint to be enabled on gitlab rails. A Status call will be done to verify the API is enabled. The daemon will default to get configuration for domains from disk if the the Status check fails.

It also disables disk source if the API succeeds.

gitlab#210010 (closed)

Edited by Jaime Martinez

Merge request reports