Repository navigation
Conversation
|
No actionable comments were generated in the recent review. WalkthroughThe OSC IRSA policy adds ChangesOSC IRSA policy
Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Bug fix Suggested reviewers: Merge Risk:
|
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: snir911, vvoronko The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/pj-rehearse periodic-ci-openshift-sandboxed-containers-operator-devel-downstream-candidate422-aws-ipi-peerpods-sts |
|
@vvoronko: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
New changes are detected. LGTM label has been removed. |
Image creation for AWS peer-pods runs ami-helper.sh, which creates the vmimport IAM role and passes it to EC2 VM Import. The IRSA policy for the OSC operator already granted the role-management actions but omitted iam:PassRole, which recently became required, so image creation failed with AccessDenied. Add iam:PassRole, scoped to role/vmimport, matching the PassRole group of the documented OSC-ImageCreation-Policy. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Snir Schreiber <ssheribe@redhat.com>
|
[REHEARSALNOTIFIER]
A total of 51 jobs have been affected by this change. The above listing is non-exhaustive and limited to 25 jobs. A full list of affected jobs can be found here Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
@snir911: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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 kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Image creation for AWS peer-pods runs ami-helper.sh, which creates the vmimport IAM role and passes it to EC2 VM Import. The IRSA policy for the OSC operator already granted the role-management actions but omitted iam:PassRole, which recently became required, so image creation failed with AccessDenied.
Add iam:PassRole, scoped to role/vmimport, matching the PassRole group of the documented OSC-ImageCreation-Policy.
Summary by CodeRabbit
This change updates the IRSA IAM policy that the peer-pods
param-cmstep inopenshift/releasecreates for the OSC operator. The affected file issandboxed-containers-operator-peerpods-param-cm-commands.sh.The policy statement scoped to
arn:aws:iam::*:role/vmimportgains theiam:PassRoleaction. The resource scope does not change. The AWS peer-pods image creation flow passes thevmimportrole to EC2 VM Import. Without this action, that step fails withAccessDenied.