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 2005843: Label ODF multicluster operator pod based on deployment name #43
Conversation
Keep labels of one operator pods always unique from the other operator pods, So that label based fetching of pods can be more deterministic. BZ: https://bugzilla.redhat.com/show_bug.cgi?id=2005843 Signed-off-by: Gowtham Shanmugasundaram <gshanmug@redhat.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: GowthamShanmugam The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@GowthamShanmugam: This pull request references Bugzilla bug 2005843, which is valid. No validations were run on this bugNo GitHub users were found matching the public email listed for the QA contact in Bugzilla (ratamir@redhat.com), skipping review request. 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. |
|
|
How about below files? Do we need to change the labels here as well? |
|
Tested token exchange flow with this change, and it was successfull |
@sp98 @umangachapagain I can't see this ServiceMonitor and Service in ACM under openshift-operator namespace & openshift-storage namespace, do I need to change here? |
I'm not sure how Also, I don't see ocs-operator doing it either. It also has different labels in the servicemonitor/service and the operator pod. This is based on my limited knowledge how ART (or other tools) deploys the manifests. So I could be wrong here. |
I can see the ODF operator also doing the same mistake, it creates a pod / ServiceMonitor / services with a label Even Prometheus not enabled here i am modifying the label here to avoid conflict in future. |
Keep labels of one operator pods always unique from the other
operator pods, So that label based fetching of pods can be more
deterministic.
BZ: https://bugzilla.redhat.com/show_bug.cgi?id=2005843
Signed-off-by: Gowtham Shanmugasundaram gshanmug@redhat.com