Skip to content
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

refactor: Update to the EBS CSI Driver IAM Policy for AWS 2025 changes #6

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

lostsnow
Copy link
Contributor

@lostsnow lostsnow commented Dec 6, 2024

Description

kubernetes-sigs/aws-ebs-csi-driver#2190

In January of 2025, AWS will change the handling of IAM polices authorizing the CreateVolume action. Previously, only the created volume was authorized when using CreateVolume to restore a snapshot. After the change, the snapshot being restored will also be authorized. Because of this change, the policy being used for the EBS CSI Driver must grant explicit access to the snapshot being restored.

If no action is taken before the change takes place, the EBS CSI Driver will be unable to restore snapshots when creating a volume.

Type of change

  • A bug fix (PR prefix fix)
  • A new feature (PR prefix feat)
  • A code change that neither fixes a bug nor adds a feature (PR prefix refactor)
  • Adding missing tests or correcting existing tests (PR prefix test)
  • Changes that do not affect the meaning of the code like white-spaces, formatting, missing semi-colons, etc. (PR prefix style)
  • Changes to our CI configuration files and scripts (PR prefix ci)
  • Documentation only changes (PR prefix docs)

How Has This Been Tested?

@Balsir Balsir self-assigned this Dec 13, 2024
@Balsir Balsir requested a review from jaygridley December 13, 2024 18:32
Copy link
Member

@jaygridley jaygridley left a comment

Choose a reason for hiding this comment

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

LGTM

@Balsir Balsir merged commit 0a78c0a into lablabs:main Dec 19, 2024
5 checks passed
@Balsir
Copy link
Contributor

Balsir commented Dec 19, 2024

@lostsnow Thank you for the contribution!

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