-
Couldn't load subscription status.
- Fork 59
🌱 Encrypt disks on copy for fast deploy direct #1190
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?
Conversation
75f164b to
b6833f1
Compare
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.
LGTM!
This patch updates Fast Deploy's direct mode to encrypt disks as part of the copy operation instead of after the fact.
b6833f1 to
14750bc
Compare
Minimum allowed line rate is |
|
|
||
| // Copy the disks using the same crypto key as the VM if the storage | ||
| // class is encrypted. | ||
| if isEncryptedStorageProfile && configSpec.Crypto != nil { |
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.
Looks like configSpec.Crypto doesn't have to be not nil, if ds.Backing.Crypto is not nil?
What does this PR do, and why is it needed?
This patch updates Fast Deploy's direct mode to encrypt disks as part of the copy operation instead of after the fact.
Which issue(s) is/are addressed by this PR? (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes
NAAre there any special notes for your reviewer:
Please add a release note if necessary: