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

fix: Add karpenter iam policy sids #324

Closed

Conversation

blakepettersson
Copy link
Contributor

@blakepettersson blakepettersson commented Dec 4, 2023

What does this PR do?

This is so that source_policy_documents or override_policy_documents can be used without appending new policies to the generated Karpenter policy document. If we can specify a sid, we can override the specific sid with the policy which we need.

Motivation

In our environment we needed to modify ec2:CreateFleet to be a bit less restrictive, since the default policy only allows for modifications of resources within the same account. Since we have a setup where subnets are shared from another account, we need to modify that policy.

More

  • Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes)
  • Yes, I ran pre-commit run -a with this PR

For Moderators

  • E2E Test successfully complete before merge?

Additional Notes

This is so that we can use `source_policy_documents` or `override_policy_documents`.
@blakepettersson blakepettersson requested a review from a team as a code owner December 4, 2023 10:36
@blakepettersson blakepettersson changed the title fix: add karpenter sids fix: Add karpenter sids Dec 4, 2023
@blakepettersson blakepettersson changed the title fix: Add karpenter sids fix: Add karpenter iam policy sids Dec 4, 2023
Copy link

github-actions bot commented Jan 4, 2024

This PR has been automatically marked as stale because it has been open 30 days
with no activity. Remove stale label or comment or this PR will be closed in 10 days

@github-actions github-actions bot added the stale label Jan 4, 2024
@blakepettersson
Copy link
Contributor Author

Still relevant IMO

@github-actions github-actions bot removed the stale label Jan 13, 2024
Copy link
Contributor

@csantanapr csantanapr left a comment

Choose a reason for hiding this comment

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

This change LGTM, @bryantbiggs could you double check?

Copy link

github-actions bot commented Mar 3, 2024

This PR has been automatically marked as stale because it has been open 30 days
with no activity. Remove stale label or comment or this PR will be closed in 10 days

@github-actions github-actions bot added the stale label Mar 3, 2024
Copy link

Pull request closed due to inactivity.

@github-actions github-actions bot closed this Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants