Registry Gargabe Collection with Helm-based installation?

I can use the command gitlab-ctl registry-garbage-collect to remove unused layers from the GitLab Registry. This works well for the regular Omnibus installation, an can be perfectly automated in a system cronjob.

As I am currently migrating from the Omnibus installation to the Helm chart, I am looking for another way to achieve scheduled cleanups of the registry. The cron_jobs setting in the default values looked promising, but there isn’t any fitting cron job in the documentation.

How can I automate the Registry garbage collection with the Helm-based installation?

1 Like

I hope this can get an answer. I am trying to get this pushed up from here: https://gitlab.com/gitlab-org/charts/gitlab/-/issues/1586

1 Like