-
Notifications
You must be signed in to change notification settings - Fork 150
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
LOG-6280: Only cleanup dashboard when owned by 'this' operator version #2921
base: release-6.1
Are you sure you want to change the base?
Conversation
@jcantrill: This pull request references LOG-6280 which is a valid jira issue. 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 openshift-eng/jira-lifecycle-plugin repository. |
/cherrpick release-6.0 |
/cherrypick release-6.0 |
@jcantrill: once the present PR merges, I will cherry-pick it on top of 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-sigs/prow repository. |
/cherrypick master |
@jcantrill: once the present PR merges, I will cherry-pick it on top of 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-sigs/prow repository. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jcantrill 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 |
/hold |
} | ||
return c.Delete(context.TODO(), cm) | ||
configMaps := &corev1.ConfigMapList{} | ||
if err := r.List(context.TODO(), configMaps, options); err != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about Get(cm) and then compare the actual labels with the expected ones?
The List() could find configmaps that have identical labels but a different name - its unlikely, but a Get is more efficient and direct.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alanconway updated to check labels
/hold cancel |
/refresh |
Description
This PR:
Links
https://issues.redhat.com/browse/LOG-6280