CLID-579: Validate BlockedImage regex#1401
Conversation
|
@dorzel: This pull request references CLID-579 which is a valid jira issue. 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. |
WalkthroughBlocked image names are now validated as regular expressions during configuration validation. A new ChangesBlocked Images Regex Validation
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 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)
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 |
|
@dorzel: 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. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: adolfo-ab, dorzel 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 |
Description
During code review of #1372, coderabbit flagged an issue surrounding validation of BlockedImage regexes: #1372 (comment). This addresses the gap by providing validation through regex compilation on the BlockedImage names during config validation.
Github / Jira issue: https://redhat.atlassian.net/browse/CLID-579
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Expected Outcome