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

feat: Allow setting custom IRSA policy name for karpenter #2480

Merged
merged 1 commit into from
Feb 17, 2023

Conversation

patrickleet
Copy link
Contributor

@patrickleet patrickleet commented Feb 17, 2023

Description

allow setting custom IRSA policy name separately from custom role name.

You can use irsa_name currently to set them both to the same thing, but there is no way to give them each custom names.

Closes #2465

Motivation and Context

My organization has requirements around role and policy names. The module only lets you set a role name currently, and uses that as the policy name. I need to be able to set a policy name, and a role name, and not to the same thing.

Breaking Changes

No. Made it backwards compatible.

How Has This Been Tested?

  • I have updated at least one of the examples/* to demonstrate and validate my change(s)
  • I have tested and validated these changes using one or more of the provided examples/* projects
  • I have executed pre-commit run -a on my pull request

I ran it locally on a project with all combinations of providing names or not.

@patrickleet patrickleet changed the title feat(karpenter): allow setting custom IRSA policy name feat: allow setting custom IRSA policy name for karpenter Feb 17, 2023
@patrickleet patrickleet changed the title feat: allow setting custom IRSA policy name for karpenter feat: Allow setting custom IRSA policy name for karpenter Feb 17, 2023
@bryantbiggs
Copy link
Member

looks like you'll need to run pre-commit run -a to fix the CI checks

@patrickleet
Copy link
Contributor Author

@bryantbiggs done

@bryantbiggs bryantbiggs merged commit 8954ff7 into terraform-aws-modules:master Feb 17, 2023
antonbabenko pushed a commit that referenced this pull request Feb 17, 2023
## [19.10.0](v19.9.0...v19.10.0) (2023-02-17)

### Features

* Allow setting custom IRSA policy name for karpenter ([#2480](#2480)) ([8954ff7](8954ff7))
@antonbabenko
Copy link
Member

This PR is included in version 19.10.0 🎉

@patrickleet
Copy link
Contributor Author

Thanks @bryantbiggs!

@github-actions
Copy link

I'm going to lock this pull request 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 related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ability to set a custom policy name AND separate custom role name for karpenter IRSA
3 participants