-
Notifications
You must be signed in to change notification settings - Fork 365
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
feat: [M3-8005] – Add disk_encryption
to types & validation schemas
#10413
feat: [M3-8005] – Add disk_encryption
to types & validation schemas
#10413
Conversation
d70c4f6
to
17d34d1
Compare
Is there a justification for using |
I can't go into much detail here (see page 6 of the spec for more in-depth discussion on it by members of the API team), but essentially it has to do with future-proofing. |
…uest, RebuildRequest, and KubeNodePoolResponse interfaces
…buildLinodeSchema
Coverage Report: ✅ |
Description 📝
Add
disk_encryption
to types & validation schemas as appropriate based on the API spec (see ticket for link)Changes 🔄
EncryptionStatus
type added;disk_encryption
field added toLinode
,Disk
,CreateLinodeRequest
, andRebuildRequest
interfacesdisk_encryption
added toCreateLinodeSchema
andRebuildLinodeSchema
; it is nullable and optional, but if provided should have a value of either "enabled" or "disabled"Note
@TODO LDE: remove optionality once LDE is fully rolled out
was added as a comment to a few new properties. These are instances where, when LDE is fully rolled out,disk_encryption
will always be included on that object. I think marking them as optional at this point is fair because not doing so would be premature, and also likely confuse consumers of the JS Client.Target release date 🗓️
5/13/24
How to test 🧪
Verification steps
disk_encryption
field)As an Author I have considered 🤔