Make the pull mirror interval settings more easily configurable

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Problem

Currently, the pull mirroring interval setting can only be updated by changing a database record via the rails console: https://docs.gitlab.com/ee/administration/instance_limits.html#pull-mirroring-interval

Admins, such as the GitLab Dedicated team, who exclusively manage GitLab instances through automated tooling do not have direct access to the rails console to make these changes.

Additionally, it appears there is currently no way to change the sidekiq interval schedule of 30 minutes.

Proposal

We propose the following changes to solve the challenges above:

  1. Create a new setting to control the sidekiq interval schedule.
  2. Add this new setting and the existing pull mirror interval setting to the Helm Charts configuration and Omnibus configuration.

Exposing these settings in the configuration files will enable admins to more easily update these settings on behalf of their users when using automated tools such as GitLab Environment Toolkit.

Edited by 🤖 GitLab Bot 🤖