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

Update the error to detect when the server only has v1beta1 CRDs #107

Merged

Conversation

mprahl
Copy link
Member

@mprahl mprahl commented Jan 22, 2024

It's unclear what package upgrade prompted this change, however, the existing error detection no longer worked when running on OpenShift 3.11.

For further context, this is the error this is now detecting:
https://github.com/kubernetes-sigs/controller-runtime/blob/6747c42ce33966b0e77cac278c6b9087cc2f51c7/pkg/client/apiutil/restmapper.go#L189-L194

Relates:
https://issues.redhat.com/browse/ACM-9533

It's unclear what package upgrade prompted this change, however, the
existing error detection no longer worked when running on OpenShift 3.11.

Relates:
https://issues.redhat.com/browse/ACM-9533

Signed-off-by: mprahl <mprahl@users.noreply.github.com>
Copy link
Member

@dhaiducek dhaiducek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link

openshift-ci bot commented Jan 22, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dhaiducek, mprahl

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-merge-bot openshift-merge-bot bot merged commit 68b2b6b into open-cluster-management-io:main Jan 22, 2024
4 checks passed
@mprahl
Copy link
Member Author

mprahl commented Jan 22, 2024

FWIW, it was added in controller-runtime v0.16.2. 🙂

Release: https://github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.16.2 PR: kubernetes-sigs/controller-runtime#2492

Ah, nice find!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants