Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

K8SPSMDB-850 - Server Side Encryption Support #1198

Merged
merged 14 commits into from
Sep 19, 2023
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,22 @@ spec:
type: string
region:
type: string
serverSideEncryption:
properties:
kmsKeyID:
type: string
sseAlgorithm:
type: string
sseCustomerAlgorithm:
type: string
sseCustomerKey:
type: string
required:
- kmsKeyID
- sseAlgorithm
- sseCustomerAlgorithm
- sseCustomerKey
type: object
storageClass:
type: string
uploadPartSize:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,22 @@ spec:
type: string
region:
type: string
serverSideEncryption:
properties:
kmsKeyID:
type: string
sseAlgorithm:
type: string
sseCustomerAlgorithm:
type: string
sseCustomerKey:
type: string
required:
- kmsKeyID
- sseAlgorithm
- sseCustomerAlgorithm
- sseCustomerKey
type: object
storageClass:
type: string
uploadPartSize:
Expand Down
16 changes: 16 additions & 0 deletions config/crd/bases/psmdb.percona.com_perconaservermongodbs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,22 @@ spec:
type: string
region:
type: string
serverSideEncryption:
properties:
kmsKeyID:
type: string
sseAlgorithm:
type: string
sseCustomerAlgorithm:
type: string
sseCustomerKey:
type: string
required:
- kmsKeyID
- sseAlgorithm
- sseCustomerAlgorithm
- sseCustomerKey
type: object
storageClass:
type: string
uploadPartSize:
Expand Down
5 changes: 5 additions & 0 deletions deploy/backup/restore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ spec:
# destination: s3://S3-BACKUP-BUCKET-NAME-HERE/BACKUP-DESTINATION
# s3:
# credentialsSecret: my-cluster-name-backup-s3
# serverSideEncryption:
# kmsKeyID: 1234abcd-12ab-34cd-56ef-1234567890ab
# sseAlgorithm: AES256
# sseCustomerAlgorithm: AES256
# sseCustomerKey: Y3VzdG9tZXIta2V5
# region: us-west-2
# bucket: S3-BACKUP-BUCKET-NAME-HERE
# endpointUrl: https://s3.us-west-2.amazonaws.com/
Expand Down
48 changes: 48 additions & 0 deletions deploy/bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,22 @@ spec:
type: string
region:
type: string
serverSideEncryption:
properties:
kmsKeyID:
type: string
sseAlgorithm:
type: string
sseCustomerAlgorithm:
type: string
sseCustomerKey:
type: string
required:
- kmsKeyID
- sseAlgorithm
- sseCustomerAlgorithm
- sseCustomerKey
type: object
storageClass:
type: string
uploadPartSize:
Expand Down Expand Up @@ -231,6 +247,22 @@ spec:
type: string
region:
type: string
serverSideEncryption:
properties:
kmsKeyID:
type: string
sseAlgorithm:
type: string
sseCustomerAlgorithm:
type: string
sseCustomerKey:
type: string
required:
- kmsKeyID
- sseAlgorithm
- sseCustomerAlgorithm
- sseCustomerKey
type: object
storageClass:
type: string
uploadPartSize:
Expand Down Expand Up @@ -863,6 +895,22 @@ spec:
type: string
region:
type: string
serverSideEncryption:
properties:
kmsKeyID:
type: string
sseAlgorithm:
type: string
sseCustomerAlgorithm:
type: string
sseCustomerKey:
type: string
required:
- kmsKeyID
- sseAlgorithm
- sseCustomerAlgorithm
- sseCustomerKey
type: object
storageClass:
type: string
uploadPartSize:
Expand Down
5 changes: 5 additions & 0 deletions deploy/cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,11 @@ spec:
# s3:
# bucket: S3-BACKUP-BUCKET-NAME-HERE
# credentialsSecret: my-cluster-name-backup-s3
# serverSideEncryption:
# kmsKeyID: 1234abcd-12ab-34cd-56ef-1234567890ab
# sseAlgorithm: AES256
# sseCustomerAlgorithm: AES256
# sseCustomerKey: Y3VzdG9tZXIta2V5
# region: us-west-2
# prefix: ""
# uploadPartSize: 10485760
Expand Down
48 changes: 48 additions & 0 deletions deploy/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,22 @@ spec:
type: string
region:
type: string
serverSideEncryption:
properties:
kmsKeyID:
type: string
sseAlgorithm:
type: string
sseCustomerAlgorithm:
type: string
sseCustomerKey:
type: string
required:
- kmsKeyID
- sseAlgorithm
- sseCustomerAlgorithm
- sseCustomerKey
type: object
storageClass:
type: string
uploadPartSize:
Expand Down Expand Up @@ -231,6 +247,22 @@ spec:
type: string
region:
type: string
serverSideEncryption:
properties:
kmsKeyID:
type: string
sseAlgorithm:
type: string
sseCustomerAlgorithm:
type: string
sseCustomerKey:
type: string
required:
- kmsKeyID
- sseAlgorithm
- sseCustomerAlgorithm
- sseCustomerKey
type: object
storageClass:
type: string
uploadPartSize:
Expand Down Expand Up @@ -863,6 +895,22 @@ spec:
type: string
region:
type: string
serverSideEncryption:
properties:
kmsKeyID:
type: string
sseAlgorithm:
type: string
sseCustomerAlgorithm:
type: string
sseCustomerKey:
type: string
required:
- kmsKeyID
- sseAlgorithm
- sseCustomerAlgorithm
- sseCustomerKey
type: object
storageClass:
type: string
uploadPartSize:
Expand Down
48 changes: 48 additions & 0 deletions deploy/cw-bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,22 @@ spec:
type: string
region:
type: string
serverSideEncryption:
properties:
kmsKeyID:
type: string
sseAlgorithm:
type: string
sseCustomerAlgorithm:
type: string
sseCustomerKey:
type: string
required:
- kmsKeyID
- sseAlgorithm
- sseCustomerAlgorithm
- sseCustomerKey
type: object
storageClass:
type: string
uploadPartSize:
Expand Down Expand Up @@ -231,6 +247,22 @@ spec:
type: string
region:
type: string
serverSideEncryption:
properties:
kmsKeyID:
type: string
sseAlgorithm:
type: string
sseCustomerAlgorithm:
type: string
sseCustomerKey:
type: string
required:
- kmsKeyID
- sseAlgorithm
- sseCustomerAlgorithm
- sseCustomerKey
type: object
storageClass:
type: string
uploadPartSize:
Expand Down Expand Up @@ -863,6 +895,22 @@ spec:
type: string
region:
type: string
serverSideEncryption:
properties:
kmsKeyID:
type: string
sseAlgorithm:
type: string
sseCustomerAlgorithm:
type: string
sseCustomerKey:
type: string
required:
- kmsKeyID
- sseAlgorithm
- sseCustomerAlgorithm
- sseCustomerKey
type: object
storageClass:
type: string
uploadPartSize:
Expand Down
48 changes: 48 additions & 0 deletions e2e-tests/version-service/conf/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,22 @@ spec:
type: string
region:
type: string
serverSideEncryption:
properties:
kmsKeyID:
type: string
sseAlgorithm:
type: string
sseCustomerAlgorithm:
type: string
sseCustomerKey:
type: string
required:
- kmsKeyID
- sseAlgorithm
- sseCustomerAlgorithm
- sseCustomerKey
type: object
storageClass:
type: string
uploadPartSize:
Expand Down Expand Up @@ -231,6 +247,22 @@ spec:
type: string
region:
type: string
serverSideEncryption:
properties:
kmsKeyID:
type: string
sseAlgorithm:
type: string
sseCustomerAlgorithm:
type: string
sseCustomerKey:
type: string
required:
- kmsKeyID
- sseAlgorithm
- sseCustomerAlgorithm
- sseCustomerKey
type: object
storageClass:
type: string
uploadPartSize:
Expand Down Expand Up @@ -863,6 +895,22 @@ spec:
type: string
region:
type: string
serverSideEncryption:
properties:
kmsKeyID:
type: string
sseAlgorithm:
type: string
sseCustomerAlgorithm:
type: string
sseCustomerKey:
type: string
required:
- kmsKeyID
- sseAlgorithm
- sseCustomerAlgorithm
- sseCustomerKey
type: object
storageClass:
type: string
uploadPartSize:
Expand Down
Loading
Loading