-
Notifications
You must be signed in to change notification settings - Fork 94
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
OCPBUGS-34373: Bump library-go to fix routes/custom-host permission for externalCertificate #459
Conversation
@chiragkyal: This pull request references Jira Issue OCPBUGS-34373, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: The bug has been updated to refer to the pull request using the external bug tracker. In 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. |
Blocked by #458 |
2b34d2d
to
37f5f70
Compare
go get -u github.com/openshift/library-go go mod tidy && go mod vendor make update Signed-off-by: chiragkyal <ckyal@redhat.com>
Signed-off-by: chiragkyal <ckyal@redhat.com>
37f5f70
to
2209289
Compare
/assign @Miciah |
/assign @p0lyn0mial |
/cc @lihongan |
/test e2e-aws-ovn |
1 similar comment
/test e2e-aws-ovn |
@chiragkyal: The following test failed, say
Full PR test history. Your PR dashboard. 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-sigs/prow repository. I understand the commands that are listed here. |
/lgtm |
@@ -47,21 +47,3 @@ func ValidateHostUpdate(ctx context.Context, route, oldRoute *routeinternal.Rout | |||
|
|||
return hostassignment.ValidateHostUpdate(ctx, &external, &oldExternal, sarClient, opts) | |||
} | |||
|
|||
func ValidateHostExternalCertificate(ctx context.Context, route, oldRoute *routeinternal.Route, sarClient routecommon.SubjectAccessReviewCreator, opts routecommon.RouteValidationOptions) field.ErrorList { |
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.
may I know why we are removing the admission?
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.
We have removed the ValidateHostExternalCertificate
function from library-go openshift/library-go#1754
To summarize: To make the custom-host
permission requirement consistent between spec.tls.externalCertificate
and spec.tls.certificate
for route.
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.
ah, okay. On some platforms, the Route API is served as a CRD, and the validation logic is common and defined in library-go.
/label qe-approved
|
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chiragkyal, Miciah, p0lyn0mial The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
ca5030f
into
openshift:master
@chiragkyal: Jira Issue OCPBUGS-34373: All pull requests linked via external trackers have merged:
Jira Issue OCPBUGS-34373 has been moved to the MODIFIED state. In 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. |
[ART PR BUILD NOTIFIER] Distgit: ose-openshift-apiserver |
ValidateHostExternalCertificate
from route admissionFixes # https://issues.redhat.com/browse/OCPBUGS-34373