DNM/SPLAT-2452: Add SetSecurityGroups IAM permission to master nodes#10512
DNM/SPLAT-2452: Add SetSecurityGroups IAM permission to master nodes#10512mfbonfigli wants to merge 1 commit intoopenshift:mainfrom
Conversation
Adds the elasticloadbalancing:SetSecurityGroups IAM permission to master nodes, which is required for the BYO Security Groups feature for AWS Network Load Balancers on AWS CCM.
|
@mfbonfigli: This pull request references SPLAT-2452 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the epic to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
Skipping CI for Draft Pull Request. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
WalkthroughUpdated the IAM policy document for the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes 🚥 Pre-merge checks | ✅ 12✅ Passed checks (12 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 golangci-lint (2.11.4)Error: can't load config: unsupported version of the configuration: "" See https://golangci-lint.run/docs/product/migration-guide for migration instructions Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Thanks for submitting PR, I think it makes sense as CCM uses CP instance profile.
PTAL to the detected policies by SREP-3643 and if it would be required too here, looks like some are not included to the master profile as well.
Also for follow up:
- We need to make sure OCP docs is updated with new set of permissions (follow up card from your Epic)
- review/update the UPI assets:
- I think we need to review the CAPA IAM too:
installer/pkg/infrastructure/aws/clusterapi/iam.go
Lines 98 to 99 in 0bd82bc
Do Not Merge / Work In Progress
This PR adds the elasticloadbalancing:SetSecurityGroups IAM permission to master nodes, which is required for the BYO Security Groups feature for AWS Network Load Balancers on AWS CCM.
Summary by CodeRabbit