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

CSVs autodiscovery fix. #2653

Conversation

greyerof
Copy link
Contributor

@greyerof greyerof commented Dec 18, 2024

PR #2479 fixed the autodiscovery of operator's pods and also added them to the pods-under-test list. The problem is that, when using namespace discovery mode, it was also adding every cluster-wide operator's controller pods to that list.

With this change, the operator (controller's pod) must be running in one of the configured/test namespaces in order to consider that CSV as part of the operators under test.

PR redhat-best-practices-for-k8s#2479 fixed the autodiscovery of operator's pods and also added them to
the pods-under-test list. The problem is that it was also adding every
cluster-wide operator's controller pods to that list.

With this change, the operator (controller's pod) must be running in one of the
configured/test namespaces in order to consider that CSV as part of the
operators under test.
@dcibot
Copy link
Collaborator

dcibot commented Dec 18, 2024

greyerof added a commit to redhat-best-practices-for-k8s/certsuite-qe that referenced this pull request Dec 19, 2024
Certsuite's PR
redhat-best-practices-for-k8s/certsuite#2653
changed the way CSVs are autodiscovered in order for operator pods to be
tested: the operator installation namespace must be explicitly added to
the configured namespaces.

This change deploys the operatorgroup and subscription of the logging
operator in the random test namespace that is set in the certsuite
confi file.
@dcibot
Copy link
Collaborator

dcibot commented Dec 19, 2024

greyerof added a commit to redhat-best-practices-for-k8s/certsuite-qe that referenced this pull request Dec 20, 2024
Certsuite's PR
redhat-best-practices-for-k8s/certsuite#2653
changed the way CSVs are autodiscovered in order for operator pods to be
tested: the operator installation namespace must be explicitly added to
the configured namespaces.

This change deploys the operatorgroup and subscription of the logging
operator in the random test namespace that is set in the certsuite
confi file.
As QE PR
redhat-best-practices-for-k8s/certsuite-qe#1032
has been merged, this PR should work with QE main branch now.

This reverts commit 430bba5.
@dcibot
Copy link
Collaborator

dcibot commented Dec 20, 2024

@greyerof greyerof merged commit 9f1ebd9 into redhat-best-practices-for-k8s:main Dec 20, 2024
34 of 35 checks passed
@dcibot
Copy link
Collaborator

dcibot commented Dec 20, 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.

5 participants