puppet-gitlab icon indicating copy to clipboard operation
puppet-gitlab copied to clipboard

gitlab.rb template doesn't allow nested lists (for example object_store in consolidate form)

Open carlos-lehmann opened this issue 3 weeks ago • 0 comments

I'm trying to achieve something like this:

gitlab_rails['object_store']['enabled'] = true
gitlab_rails['object_store']['proxy_download'] = false
gitlab_rails['object_store']['connection'] = {
  'provider' => 'AWS',
  'region' => 'eu-central-1',
  'aws_access_key_id' => '<AWS_ACCESS_KEY_ID>',
  'aws_secret_access_key' => '<AWS_SECRET_ACCESS_KEY>'
}
# OPTIONAL: The following lines are only needed if server side encryption is required
gitlab_rails['object_store']['storage_options'] = {
  'server_side_encryption' => '<AES256 or aws:kms>',
  'server_side_encryption_kms_key_id' => '<arn:aws:kms:xxx>'
}

But looking templates/gitlab.rb.erb, it doesn't seem to be possible? Could someone help to introduce this?

Thank you!

carlos-lehmann avatar Dec 08 '25 16:12 carlos-lehmann