Skip to content

upcoming: [M3-8357] – Update types and schemas for Block Storage Encryption#10716

Merged
dwiley-akamai merged 4 commits intolinode:developfrom
dwiley-akamai:M3-8357-block-storage-encryption-types
Jul 31, 2024
Merged

upcoming: [M3-8357] – Update types and schemas for Block Storage Encryption#10716
dwiley-akamai merged 4 commits intolinode:developfrom
dwiley-akamai:M3-8357-block-storage-encryption-types

Conversation

@dwiley-akamai
Copy link
Contributor

@dwiley-akamai dwiley-akamai commented Jul 25, 2024

Description 📝

Update types and schemas to reflect forthcoming Block Storage Encryption changes.

Changes 🔄

  • Add encryption field to Volume and VolumeRequestPayload interfaces and key_rotating value to VolumeStatus type in volumes/types.ts
  • Add key_rotating to volumeStatusIconMap
  • Add optional encryption field to CreateVolumeSchema
  • Add Block Storage Encryption to Capabilities type in regions/types.ts and to AccountCapability in account/types.ts
  • Add bs_encryption_supported field to Linode interface in linodes/types.ts

Target release date 🗓️

8/5/24

How to test 🧪

Since there were changes to CreateVolumeSchema, ensure that volume creation has not been adversely impacted.

Confirm the changes are in accordance with the API spec linked in the ticket.

As an Author I have considered 🤔

  • 👀 Doing a self review
  • ❔ Our contribution guidelines
  • 🤏 Splitting feature into small PRs
  • ➕ Adding a changeset
  • 🧪 Providing/Improving test coverage
  • 🔐 Removing all sensitive information from the code and PR description
  • 🚩 Using a feature flag to protect the release
  • 👣 Providing comprehensive reproduction steps
  • 📑 Providing or updating our documentation
  • 🕛 Scheduling a pair reviewing session
  • 📱 Providing mobile support
  • ♿ Providing accessibility support

@dwiley-akamai dwiley-akamai added the Block Storage Encryption (BSE) Relating to Block Storage (Volumes) encryption label Jul 25, 2024
@dwiley-akamai dwiley-akamai self-assigned this Jul 25, 2024
DevDW added 2 commits July 25, 2024 15:35
…and VolumeStatus and Capabilities types to reflect Block Storage Encryption changes
@dwiley-akamai dwiley-akamai marked this pull request as ready for review July 25, 2024 19:48
@dwiley-akamai dwiley-akamai requested a review from a team as a code owner July 25, 2024 19:48
@dwiley-akamai dwiley-akamai requested review from hkhalil-akamai and mjac0bs and removed request for a team July 25, 2024 19:48
Copy link
Contributor

@mjac0bs mjac0bs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good, and I observed no regressions to Volume creation and its payload. I left a couple of clarifying questions.

@github-actions
Copy link

Coverage Report:
Base Coverage: 82.36%
Current Coverage: 82.36%

Copy link
Contributor

@hkhalil-akamai hkhalil-akamai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified all changes in accordance with API spec and create volume flow continues to work as before.

filesystem_path: string;
tags: string[];
hardware_type: VolumeHardwareType;
encryption?: VolumeEncryption; // @TODO BSE: Remove optionality once BSE is fully rolled out
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we make a follow up ticket for this and bs_encryption_supported?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, there will be a ticket in the epic for addressing BSE to-do's

Copy link
Contributor

@mjac0bs mjac0bs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

@mjac0bs mjac0bs added the Approved Multiple approvals and ready to merge! label Jul 31, 2024
@dwiley-akamai dwiley-akamai merged commit caebedc into linode:develop Jul 31, 2024
@dwiley-akamai dwiley-akamai deleted the M3-8357-block-storage-encryption-types branch July 31, 2024 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Approved Multiple approvals and ready to merge! Block Storage Encryption (BSE) Relating to Block Storage (Volumes) encryption

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants