Skip to content

Explicitly support object storage bucket prefixes

When we removed background upload support in 15.0 &733 we later found out that some administrators had been using object storage bucket names with a slash (/) in them to avoid having to create a dozen different object storage buckets for GitLab. They would use bucket names like my-gitlab-bucket/artifacts, my-gitlab-bucket/lfs, my-gitlab-bucket/uploads etc. Apparently this worked with background upload, but not with (all mechanisms for?) direct upload.

I think we should add explicit support for this because:

  1. It fixes the issues users of the unofficial feature are having since 15.0
  2. It is a natural, unsurprising way to not have to create many buckets
  3. Once fixed, this makes life easier for all new GitLab installations because we can instruct people to set up and use only 1 bucket

Related issues: