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

Fix for operator-single-crd-owner test case. #2603

Conversation

greyerof
Copy link
Contributor

@greyerof greyerof commented Nov 28, 2024

As reported in issue #2593, the test case operator-single-crd-owner might produce false positives.

The original implementation didn't handle cases where a single CRD name can have more than one version.

I was able to test the false positive (original code) and this fix in OCP 4.16.3 with package "amq-broker-rhel8" which also owns same CRD with different versions.

As stated in issue
redhat-best-practices-for-k8s#2593 ,
the test case operator-single-crd-owner might produce false positives.

The original implementation didn't handle cases where a single CRD name
can have more than one version.
@greyerof greyerof requested a review from jmontesi November 28, 2024 16:32
@dcibot
Copy link
Collaborator

dcibot commented Nov 28, 2024

@greyerof greyerof merged commit d6482e5 into redhat-best-practices-for-k8s:main Dec 3, 2024
37 checks passed
@dcibot
Copy link
Collaborator

dcibot commented Dec 3, 2024

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

Successfully merging this pull request may close these issues.

4 participants