-
Notifications
You must be signed in to change notification settings - Fork 47
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(CNV-28185): add required labels #608
Conversation
Please update the commit message and PR's description to reflect the current change. |
Done. |
@0xFelix Can you please re-review it again? If there is no part-of value, it'll be empty. |
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.
There is still a CI failure.
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.
Can you please add functional tests too?
/retest |
/hold There is a failure in the new functional test that I've added, I'll try to run it locally again. |
I think there is a design issue from the beginning. Why metrics is part of ssp-operator? why ssp-operator deploys Metrics Rules and many other resources? From what I see, the service object What others think, @lyarwood and @0xFelix? your opinion is very much appreciated. :) |
Add required labels: - "app.kubernetes.io/managed-by" - "app.kubernetes.io/version" - "app.kubernetes.io/component" - "app.kubernetes.io/part-of" That are required by a specific resource: - ssp-operator-metrics Jira-Url: https://issues.redhat.com/browse/CNV-28185 Signed-off-by: Ben Oukhanov <[email protected]>
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
@codingben Depends on what we want to achieve. If we want absolutely no resources to be left when the SSP CR is removed then we have another bug. If we want just objects from IMO we should not leave any resources when the SSP CR is removed, so IMO we have a bug? |
The metrics service resource does not depend on SSP CR. It needs to be present when the |
How do we ensure the resources are cleaned up when removing the operator then? |
I've edited the above comment, but you were faster. |
@akrejcir @codingben Then it sounds to me like we should have different |
I'm ok with a different label. I'm not sure where are the labels used. |
AFAIU they are used by HCO. |
In the failed tests I see some infra failures, e.g. network/timeout errors. /retest |
/retest |
2 similar comments
/retest |
/retest |
/lgtm |
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.
/approve
Thanks!
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 0xFelix 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 |
/unhold |
/cherry-pick release-v0.18 |
@akrejcir: new pull request created: #658 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. |
What this PR does / why we need it:
Add required labels:
That are required by a specific resource:
Jira-Url: https://issues.redhat.com/browse/CNV-28185
Release note: