Skip to content

TPT-3809: Added DiskEncryption field for LKE Node Pool creation#670

Merged
ezilber-akamai merged 3 commits intolinode:devfrom
ezilber-akamai:TPT-3809-lde-for-lke
Mar 25, 2026
Merged

TPT-3809: Added DiskEncryption field for LKE Node Pool creation#670
ezilber-akamai merged 3 commits intolinode:devfrom
ezilber-akamai:TPT-3809-lde-for-lke

Conversation

@ezilber-akamai
Copy link
Contributor

📝 Description

Added support for DiskEncryption field in LKE Node Pool POST operation.

✔️ How to Test

make test-int TEST_CASE=test_node_pool_create_with_disk_encryption

@ezilber-akamai ezilber-akamai requested a review from a team as a code owner March 19, 2026 18:53
@ezilber-akamai ezilber-akamai added the new-feature for new features in the changelog. label Mar 19, 2026
@ezilber-akamai ezilber-akamai requested review from Copilot, lgarber-akamai and yec-akamai and removed request for a team March 19, 2026 18:53
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds SDK support for setting disk_encryption when creating an LKE node pool via the POST /lke/clusters/{id}/pools operation, plus an integration test to validate the behavior.

Changes:

  • Add disk_encryption parameter to LKECluster.node_pool_create() and include it in the POST payload.
  • Add an integration test that creates a node pool with disk encryption enabled and asserts the returned value.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
linode_api4/objects/lke.py Extends LKECluster.node_pool_create() to accept and send disk_encryption in the request body.
test/integration/models/lke/test_lke.py Adds an integration test covering node pool creation with disk_encryption="enabled".

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

@lgarber-akamai lgarber-akamai left a comment

Choose a reason for hiding this comment

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

Tests are passing on my end, great work!

@ezilber-akamai ezilber-akamai merged commit c77ec6d into linode:dev Mar 25, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-feature for new features in the changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants