-
Notifications
You must be signed in to change notification settings - Fork 562
Bug 1906134: Don't create OperatorConditions for copied CSVs #1899
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
Bug 1906134: Don't create OperatorConditions for copied CSVs #1899
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: awgreene 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 |
@awgreene: This pull request references Bugzilla bug 1906134, which is invalid:
Comment In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
pkg/controller/operators/operatorconditiongenerator_controller.go
Outdated
Show resolved
Hide resolved
/bugzilla refresh |
@awgreene: This pull request references Bugzilla bug 1906134, which is invalid:
Comment In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/bugzilla refresh |
@awgreene: This pull request references Bugzilla bug 1906134, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
3401c15
to
09f29e1
Compare
/retest |
Tests? |
I can create a test that ensures an OpeneratorCondition wasn't created for a Copied CSV over x seconds but there is not a way to distinguish that the controller simply hasn't reconciled the Copied CSV yet. |
09f29e1
to
e8f8b2d
Compare
Problem: OLM is currently creating an OperatorCondition for copied CSVs. As a result, OLM is reporting that the deployments defined in the copied CSVs cannot be found. Solution: OLM should not be creating OperatorCondtions for copied CSVs. Update the OperatorConditionGenerator Reconciler to include predicate functions that exclude copied CSVs.
e8f8b2d
to
ff50a2a
Compare
@kevinrizza I added the test described above which at least sounds an alarm if a Copied CSV is reconciled. |
/lgtm |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest |
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest |
@awgreene: All pull requests linked via external trackers have merged: Bugzilla bug 1906134 has been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Problem: OLM is currently creating an OperatorCondition for copied CSVs.
As a result, OLM is reporting that the deployments defined in the copied
CSVs cannot be found.
Solution: OLM should not be creating OperatorCondtions for copied CSVs.
Update the OperatorConditionGenerator Reconciler to include predicate
functions that exclude copied CSVs.