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

chore(eks): wildcard resources on nodegroup ipv6 assignment permissions #26067

Closed
wants to merge 3 commits into from

Conversation

kishiel
Copy link
Contributor

@kishiel kishiel commented Jun 21, 2023

This change makes the supplemental IPv6 assign/unassign permissions for the default nodegroup role consistent with the AmazonEKS_CNI_Policy document by removing the resource scope of "arn:aws:ec2:*:*:network-interface/*" and replacing it with "*".

The previous definition worked, so there's probably some work to update the managed policy's resource scoping to better fit least access, but by specifying the aws partition it made the IPv6 cluster default node group role incompatible with aws-cn and aws-gov partitions.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@gitpod-io
Copy link

gitpod-io bot commented Jun 21, 2023

@github-actions github-actions bot added the p2 label Jun 21, 2023
@aws-cdk-automation aws-cdk-automation requested a review from a team June 21, 2023 12:11
@github-actions github-actions bot added the beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK label Jun 21, 2023
@aws-cdk-automation aws-cdk-automation added the pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. label Jun 21, 2023
@kishiel
Copy link
Contributor Author

kishiel commented Jun 22, 2023

Hang tight on this review. I engaged the EKS networking team about the managed policy I referenced, and it sounds like the managed policy is no longer the EKS recommendation. Working on some changes to expand the scope of this to incorporate the latest permission guidance.

@kishiel kishiel marked this pull request as draft June 22, 2023 00:50
@kishiel kishiel marked this pull request as ready for review June 26, 2023 15:42
@kishiel
Copy link
Contributor Author

kishiel commented Jun 26, 2023

I've spent a few days trying to incorporate the new recommendations from EKS networking but I've encountered several issues. I'll open a separate PR once I get it baked--for now this one should be good to go.

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: de81e64
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@kishiel
Copy link
Contributor Author

kishiel commented Jun 28, 2023

I've completed the work to replace the managed policy so I'm going to close this change and open a new PR as a feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK p2 pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants