-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
modules/iam-role-for-service-accounts-eks - wrong condition string in IAM policy for EBS driver #325
Comments
For the sake of truth I'm able to reproduce the error only on some of my clusters. But the policy in this repo is definitely different from what we have in AWS managed policy and from what we can find in example policy in aws-ebs-csi-driver repo (they also use it for testing purposes) |
Yes, it should be updated since the upstream policy was updated (what we intended to track) kubernetes-sigs/aws-ebs-csi-driver#1450 |
This issue has been automatically marked as stale because it has been open 30 days |
This issue was automatically closed because of stale in 10 days |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Description
The condition string for DeleteVolume action has changed in the example policy of the aws-ebs-csi-driver and in the (AWS managed) AmazonEBSCSIDriverPolicy.
It must be:
compare it to the current:
EKS 1.23
aws-ebs-csi-driver-2.11.1 chart (the driver version 1.11.3)
Steps to reproduce
create PVC following https://github.com/kubernetes-sigs/aws-ebs-csi-driver/tree/master/examples/kubernetes/dynamic-provisioning
Delete the resources
Expected behavior
Volume deletion without errors
Actual behavior
EBS controller logs like "DeleteDisk could not delete volume: UnauthorizedOperation: You are not authorized to perform this operation. "
Example tags:
The text was updated successfully, but these errors were encountered: