Using consolidated object storage and Pages globals does not work
Summary
Using Pages and unified object storage in the helm chart will lead to a broken configuration of rails.
Steps to reproduce
- Configure consolidated object storage and pages bucket seperately.
- Install GitLab
- receive the following error:
/srv/gitlab/config/initializers/pages_storage_check.rb:13:in `<main>': Please enable at least one of the two Pages storage strategy (local_store or object
Configuration used
(Please provide a sanitized version of the configuration used wrapped in a code block (```yaml))
global:
minio:
enabled: false
## https://docs.gitlab.com/charts/charts/globals#configure-appconfig-settings
## Rails based portions of this chart share many settings
appConfig:
## https://docs.gitlab.com/charts/charts/globals#lfs-artifacts-uploads-packages-external-mr-diffs-and-dependency-proxy
object_store:
enabled: true
lfs:
bucket: dev-environment-redacted-gitlab-git-lfs
artifacts:
bucket: dev-environment-redacted-gitlab-artifacts
uploads:
bucket: dev-environment-redacted-gitlab-uploads
packages:
bucket: dev-environment-redacted-gitlab-packages
backups:
bucket: dev-environment-redacted-gitlab-backups
tmpBucket: dev-environment-redacted-gitlab-backups-tmp
## End of global.appConfig
## https://docs.gitlab.com/charts/charts/globals#configure-registry-settings
registry:
bucket: dev-environment-redacted-gitlab-registry
## https://docs.gitlab.com/charts/charts/globals#configure-gitlab-pages
pages:
enabled: true
objectStore:
enabled: true
bucket: dev-environment-redacted-gitlab-pages
Current behavior
error:
/srv/gitlab/config/initializers/pages_storage_check.rb:13:in `<main>': Please enable at least one of the two Pages storage strategy (local_store or object
Expected behavior
a working GitLab installation with Pages object storage configured.
Versions
- Chart: 7.9.1
- Platform:
- Cloud: GKE
- Kubernetes:
- Client: 1.24+
- Server: 1.24+
- Helm:
- Client: v3.12.1
Relevant logs
/cc @WarheadsSE @brad