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 1800689: Identify Operator backed services on sidebar in listview topology #4253
Bug 1800689: Identify Operator backed services on sidebar in listview topology #4253
Conversation
/kind bug |
e1a364c
to
b6fb836
Compare
@sahil143: This pull request references Bugzilla bug 1800689, 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. 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. |
@sahil143: This pull request references Bugzilla bug 1800689, which is valid. 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. |
2 similar comments
@sahil143: This pull request references Bugzilla bug 1800689, which is valid. 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. |
@sahil143: This pull request references Bugzilla bug 1800689, which is valid. 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. |
@@ -430,10 +440,17 @@ const isReplicationControllerVisible = (resource: K8sResourceKind): boolean => { | |||
export class TransformResourceData { | |||
private resources: any; | |||
|
|||
constructor(resources: any, public utils?: Function[]) { | |||
constructor( | |||
resources: any, |
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.
add type here
@sahil143 I pulled in you PR to test it locally by couldn't see the operator-backed link in the side panel of the list view |
4579ebf
to
4ec6d8b
Compare
@debsmita1 Fixed. Please review again. |
const operatorResource: K8sResourceKind = _.find(this.installedOperators, { | ||
metadata: { uid: ownerUid }, | ||
}) as K8sResourceKind; | ||
console.log( |
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.
please remove the log statement
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.
removed
tested it locally, works fine |
…ebar resources for operator backed services finish up check for uid while setting isOperatorBacked remove console.log
4ec6d8b
to
d3210e9
Compare
@@ -1,6 +1,7 @@ | |||
import { K8sResourceKind, PodKind, RouteKind, EventKind } from '@console/internal/module/k8s'; | |||
import { DEPLOYMENT_STRATEGY } from '../constants'; | |||
import { OverviewItemAlerts, PodControllerOverviewItem } from './pod'; | |||
import { ClusterServiceVersionKind } from '@console/operator-lifecycle-manager'; |
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.
argh, this is a bad dependency for console-shared
These sections should be contributed via extensions and not hard coded.
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.
@christianvogt As discussed, logged a bug for this https://issues.redhat.com/browse/ODC-3075.
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: christianvogt, sahil143 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 |
/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. |
@sahil143: All pull requests linked via external trackers have merged. Bugzilla bug 1800689 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. |
fixes: https://issues.redhat.com/browse/ODC-2907
Analysis / Root cause:
Sidebar in topology and list show doesn't identify workloads owned by Operator backed service.
Solution description
added operator-backed link to sidebar.
Browser conformance: