fix: use admin client for node object to avoid unprivileged 403 errors#3948
fix: use admin client for node object to avoid unprivileged 403 errors#3948geetikakay wants to merge 1 commit intoRedHatQE:cnv-4.21from
Conversation
|
Important Review skippedIgnore keyword(s) in the title. ⛔ Ignored keywords (1)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Tip Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord. 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 |
|
Report bugs in Issues Welcome! 🎉This pull request will be automatically processed with the following features: 🔄 Automatic Actions
📋 Available CommandsPR Status Management
Review & Approval
Testing & Validation
Container Operations
Cherry-pick Operations
Label Management
✅ Merge RequirementsThis PR will be automatically approved when the following conditions are met:
📊 Review ProcessApprovers and ReviewersApprovers:
Reviewers:
Available Labels
💡 Tips
For more information, please refer to the project documentation or contact the maintainers. |
|
/wip |
VMs created with unprivileged_client pass that client down to the Node object via vmi.node. Node is cluster-scoped so unprivileged users can't query node status causing 403 Forbidden in wait_for_node_status. Signed-off-by: Geetika Kapoor <gkapoor@redhat.com>
2461799 to
ec4a9d9
Compare
|
/wip cancel |
|
/approve |
|
/verified |
Test execution plan request detailsCRITICAL: You MUST post an inline review comment on the first changed line of the first file. As an expert software testing engineer, analyze all modified files in this PR and create a targeted test execution plan. Analysis Requirements:
Your deliverable: Test Execution Plan
Guidelines:
Hardware-Related Checks (SR-IOV, GPU, DPDK): When PR modifies fixtures for hardware-specific resources:
CRITICAL WORKFLOW COMPLETION RULES: When responding to this test execution plan request, you MUST follow these rules EXACTLY:
ABSOLUTE PROHIBITIONS (violating these creates empty/meaningless reviews):
Remember: The pull request review is visible to users. Additional comments are redundant noise. CRITICAL: Before setting "Run smoke tests: True", you MUST use shell scripts to: |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🏁 Script executed: Length of output: 185 🏁 Script executed: Length of output: 6064 🏁 Script executed: Length of output: 265316 🏁 Script executed: Length of output: 0 🏁 Script executed: Length of output: 2976 🏁 Script executed: Length of output: 1 🏁 Script executed: Length of output: 0
🏁 Script executed: Length of output: 195 🏁 Script executed: Length of output: 80 🏁 Script executed: Length of output: 1735 🧠 Learnings used |
VMs created with unprivileged_client pass that client down to the Node object via vmi.node. Node is cluster-scoped so unprivileged users can't query node status causing 403 Forbidden in wait_for_node_status.
Short description:
More details:
What this PR does / why we need it:
Which issue(s) this PR fixes:
Special notes for reviewer:
jira-ticket: