Tolerate 403 reply on router-reload to alleviate OCPBUGS-98255 caused by security posture change to disable 404 reply - #831
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe HAProxy health check now treats HTTP 403 responses as successful. It continues to accept HTTP 503 and 404 responses. 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
|
@Scotchman0: all tests passed! 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. |
Addressing OCPBUGS-98255 - this PR seeks to resolve the impact condition from a restrictive response condition expectation from HAProxy when a proxy is in use for the cluster, and the customer has disabled 404 responses as a security posture update. (Change enforces a 403 instead on all calls that don't otherwise return a valid response code or 503). Because the response will now default to a 403 instead of the expected 404 the call will time out/repeatedly re-probing the port. This may lead to delay during reload execution despite successful configuration mapping.
Logs generated that this PR will alleviate: