Skip to content
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

🐛 Do not look up APIExports in the generic webhook #2690

Merged
merged 1 commit into from
Jan 27, 2023

Conversation

nrb
Copy link
Contributor

@nrb nrb commented Jan 26, 2023

Summary

The generic webhook was still using an APIExport lookup to determine cluster name, when all it needed to do was return a value off the APIBinding.

Also cleaned up some NotFound noise from the resource controller.

Related issue(s)

Fixes #2622

Also clean up unnecessary NotFound errors in resource controller

Signed-off-by: Nolan Brubaker <[email protected]>
@openshift-ci openshift-ci bot added the kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API label Jan 26, 2023
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 26, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 26, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ncdc

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 26, 2023
@stevekuznetsov
Copy link
Contributor

/retest
#2693

@stevekuznetsov
Copy link
Contributor

/retest

@openshift-merge-robot openshift-merge-robot merged commit 0944f91 into kcp-dev:main Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: unable to delete a CR from an APIBinding/APIExport when the APIExport is gone
4 participants