OCPBUGS-97920: allow specific actions for AWS EFS CredentialsRequest#578
OCPBUGS-97920: allow specific actions for AWS EFS CredentialsRequest#578dobsonj wants to merge 1 commit into
Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@dobsonj: This pull request references Jira Issue OCPBUGS-97920, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. 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. |
|
@dobsonj: GitHub didn't allow me to request PR reviews from the following users: openshift/storage. Note that only openshift members and repo collaborators can review this PR, and authors cannot review their own PRs. 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 kubernetes-sigs/prow repository. |
📝 WalkthroughWalkthroughThe AWS EFS CSI driver credentials request now grants an explicit set of Elastic File System API actions instead of the wildcard 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dobsonj 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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@assets/overlays/aws-efs/base/credentials.yaml`:
- Around line 16-22: Update the EFS permissions list in credentials.yaml by
removing elasticfilesystem:CreateAccessPoint and
elasticfilesystem:DeleteAccessPoint. Keep elasticfilesystem:TagResource only if
required, and ensure it remains scoped by the existing cluster-tag condition
rather than resource "*".
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository YAML (base), Central YAML (inherited)
Review profile: CHILL
Plan: Enterprise
Run ID: 038478f9-782a-45b3-844b-0a2aaff3eff1
⛔ Files ignored due to path filters (1)
assets/overlays/aws-efs/generated/standalone/credentials.yamlis excluded by!**/generated/**
📒 Files selected for processing (1)
assets/overlays/aws-efs/base/credentials.yaml
|
/jira refresh |
|
@dobsonj: This pull request references Jira Issue OCPBUGS-97920, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
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. |
|
@dobsonj: The following tests 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. |
|
@dobsonj: This pull request references Jira Issue OCPBUGS-97920, which is valid. 3 validation(s) were run on this bug
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. |
https://redhat.atlassian.net/browse/OCPBUGS-97920
This PR replaces the wildcard
elasticfilesystem:*in the CredentialsRequest for AWS EFS with specific actions from https://github.com/openshift/aws-efs-csi-driver/blob/master/docs/iam-policy-example.json/cc @openshift/storage