-
Notifications
You must be signed in to change notification settings - Fork 14
Parse registries for wildcard entries #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: umohnani8 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 |
|
Tests will fail till containers/image#1191 gets in and we vendor it in here. |
mtrmac
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don’t think this works correctly, and the validation approach worries me.
Ultimately it’s also a bit early, the semantics of the matching (and of the allowed configuration format WRT Prefix/Location presence) is still somewhat in flux.
|
@mtrmac addressed comments, PTAL |
|
@umohnani8: This pull request references Bugzilla bug 1948593, which is invalid:
Comment 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/test-infra repository. |
|
/bugzilla refresh |
|
@umohnani8: This pull request references Bugzilla bug 1948593, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Bugzilla ([email protected]), skipping review request. 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/test-infra repository. |
|
/retest |
c8b6720 to
6f0e537
Compare
mtrmac
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding the tests.
lsm5
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM as far as TestRegMatchesScope and TestIsValidRegistryOrWildcardScope are concerned and they pass. I'll defer to @mtrmac and @vrothberg for further review.
vrothberg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
bc0f719 to
f4057e8
Compare
|
@mtrmac addressed comments, PTAL |
mtrmac
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM, if we are in a hurry; basically only documentation concerns. Of those, the public API documentation the two functions are the only externally-visible.
|
@mtrmac addressed the final comments, PTAL |
mtrmac
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, feel free to merge without another review round.
|
/approve |
Insecure, blocked, and allowed registries now accept wildcard entries so add logic to parse that from the Image CR. Update tests to reflect the new parsing logic for wildcards. Signed-off-by: Urvashi Mohnani <[email protected]>
Needed for updates to tests to pass. Signed-off-by: Urvashi Mohnani <[email protected]>
|
/lgtm (also exposing @vrothberg and @lsm5 ’s reviews to the tooling) |
|
/hold cancel |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lsm5, mtrmac, umohnani8 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 |
... instead of a local copy. The code is currently 100% identical, so this doesn't make a difference, but that will change with openshift/runtime-utils#11 . Signed-off-by: Miloslav Trmač <[email protected]>
... instead of a local copy. The code is currently 100% identical, so this doesn't make a difference, but that will change with openshift/runtime-utils#11 . Signed-off-by: Miloslav Trmač <[email protected]>
... instead of a local copy. The code is currently 100% identical, so this doesn't make a difference, but that will change with openshift/runtime-utils#11 . Signed-off-by: Miloslav Trmač <[email protected]>
... instead of a local copy. The code is currently 100% identical, so this doesn't make a difference, but that will change with openshift/runtime-utils#11 . Signed-off-by: Miloslav Trmač <[email protected]>
Insecure, blocked, and allowed registries now accept
wildcard entries so add logic to parse that from the
Image CR.
Update tests to reflect the new parsing logic for wildcards.
Signed-off-by: Urvashi Mohnani [email protected]