-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
switch image api to use SAR client, not registry #16148
Conversation
ResourceAttributes: &authorizationapi.ResourceAttributes{ | ||
Namespace: tagRef.From.Namespace, | ||
Verb: "get", | ||
Group: imageapi.GroupName, |
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 change this. Looks like a typo before. This groupified check should also have permission.
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.
does empty group vs. image.openshift.io matters here? guess we need support both
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.
does empty group vs. image.openshift.io matters here? guess we need support both
It's a server back to itself call, the roles will be reconciled. I think this usage is correct.
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.
thx for clarification :)
/approve no-issue |
faafd3c
to
fc49568
Compare
/lgtm |
/lgtm cancel This PR has been breaking our batch jobs since yesterday because in conjuction with #16147, it produces a compilation error. /test all |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k, mfojtik The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
fc49568
to
747b5f1
Compare
Use a normal client for running SAR checks.
@mfojtik @soltysh this is on the path to splitting out the storage for the image APIs