Commit edd40f31 authored by Evan Read's avatar Evan Read

Merge branch 'mlockhart-master-patch-90622' into 'master'

Fix incorrect S3 KMS key id ARN in object storage

See merge request gitlab-org/gitlab!46107
parents f3dc7aa7 6d74a107
...@@ -106,7 +106,7 @@ See the section on [ETag mismatch errors](#etag-mismatch) for more details. ...@@ -106,7 +106,7 @@ See the section on [ETag mismatch errors](#etag-mismatch) for more details.
# OPTIONAL: The following lines are only needed if server side encryption is required # OPTIONAL: The following lines are only needed if server side encryption is required
gitlab_rails['object_store']['storage_options'] = { gitlab_rails['object_store']['storage_options'] = {
'server_side_encryption' => '<AES256 or aws:kms>', 'server_side_encryption' => '<AES256 or aws:kms>',
'server_side_encryption_kms_key_id' => '<arn:s3:aws:xxx>' 'server_side_encryption_kms_key_id' => '<arn:aws:kms:xxx>'
} }
gitlab_rails['object_store']['objects']['artifacts']['bucket'] = '<artifacts>' gitlab_rails['object_store']['objects']['artifacts']['bucket'] = '<artifacts>'
gitlab_rails['object_store']['objects']['external_diffs']['bucket'] = '<external-diffs>' gitlab_rails['object_store']['objects']['external_diffs']['bucket'] = '<external-diffs>'
...@@ -145,7 +145,7 @@ See the section on [ETag mismatch errors](#etag-mismatch) for more details. ...@@ -145,7 +145,7 @@ See the section on [ETag mismatch errors](#etag-mismatch) for more details.
region: <eu-central-1> region: <eu-central-1>
storage_options: storage_options:
server_side_encryption: <AES256 or aws:kms> server_side_encryption: <AES256 or aws:kms>
server_side_encryption_key_kms_id: <arn:s3:aws:xxx> server_side_encryption_key_kms_id: <arn:aws:kms:xxx>
objects: objects:
artifacts: artifacts:
bucket: <artifacts> bucket: <artifacts>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment