-
Notifications
You must be signed in to change notification settings - Fork 103
Enable encryption in backup operator test #2355
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,6 +68,8 @@ var _ = BeforeSuite(func() { | |
|
||
// Create a blobstore for testing backups and restore | ||
factory.CreateBlobstoreIfAbsent(fdbCluster.Namespace()) | ||
|
||
// Note: Encryption key secret is automatically created during namespace setup | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is there anything we should change in the e2e test case to ensure we test backups with and without encryption (and also validate that the backup is actually encrypted)? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's a great point. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also I'm trying to change this test to include both encryption and without encryption test. |
||
}) | ||
|
||
var _ = AfterSuite(func() { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This means all tests will be running with encryption enabled. I would prefer having an option in the
FdbBackupConfiguration
to enabled encryption if wanted.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the review! I'm new to this repo so didn't know exactly where to add the encryption key logic.
I will check the
FdbBackupConfiguration
and update the logic there.