Skip to content

Add support for new field 'kmsKeyID'#2

Merged
matancev merged 2 commits intoyandex-cloud:masterfrom
A-ndrey:feature/kms-key-id
Mar 27, 2025
Merged

Add support for new field 'kmsKeyID'#2
matancev merged 2 commits intoyandex-cloud:masterfrom
A-ndrey:feature/kms-key-id

Conversation

@A-ndrey
Copy link
Copy Markdown
Contributor

@A-ndrey A-ndrey commented Mar 20, 2025

What this PR does?
Update dependencies and implement support for the 'kmsKeyID' field.

How was it tested?
Manually tested and run dataplane tests.

@matancev matancev requested a review from seukyaso March 20, 2025 13:12
@A-ndrey A-ndrey force-pushed the feature/kms-key-id branch from 6231805 to ec8211b Compare March 20, 2025 22:18
Comment thread pkg/services/controller/controller.go Outdated

diskAPIRequest.DiskPlacementPolicy = diskPlacementPolicy

if kmsKeyID, ok := parameters[services.KMSKeyIDKey]; ok {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

NIT: кажется можно просто:
diskAPIRequest.KMSKeyID = parameters[services.KMSKeyIDKey]

@seukyaso seukyaso requested a review from matancev March 27, 2025 13:40
@matancev matancev merged commit a83693c into yandex-cloud:master Mar 27, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants