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

The test operator-single-crd-owner fails with mutliple CRD versions #2593

Open
brusdev opened this issue Nov 25, 2024 · 1 comment
Open

The test operator-single-crd-owner fails with mutliple CRD versions #2593

brusdev opened this issue Nov 25, 2024 · 1 comment

Comments

@brusdev
Copy link

brusdev commented Nov 25, 2024

When the ClusterServiceVersion contains multiple versions of the same CustomReseourceDefinition the test operator-single-crd-owner fails because counts an owner for each CustomReseourceDefinition version, i.e. ActiveMQArtemis CRD versions in https://github.com/artemiscloud/activemq-artemis-operator/blob/1.2.7/bundle/manifests/activemq-artemis-operator.clusterserviceversion.yaml

@greyerof
Copy link
Contributor

Hi, @brusdev

Thanks for reporting this issue. I was able to reproduce it in OCP 4.16.3 with package "amq-broker-rhel8" which also owns same CRD with different versions. A fix is in progress right now.

greyerof added a commit to greyerof/certsuite that referenced this issue Nov 28, 2024
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 added a commit that referenced this issue Dec 3, 2024
As stated 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.
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

No branches or pull requests

2 participants