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 1830121: Enable pod list to display node instead of owner #5368
Conversation
@rhamilto: This pull request references Bugzilla bug 1830121, 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. |
@rhamilto: This pull request references Bugzilla bug 1830121, which is valid. 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. |
/retest |
@rhamilto I don't mind this solution too much, but I would prefer to use redux instead of passing the prop down through all of the intermediate components. PodTableRow is already connected to redux, so it shouldn't be too difficult to hook something up there. We just need to make sure to unset that state when we leave the pages that use it. Should be easy enough to set up a hook to do that as well. The only other thing I would say is that maybe we could name the In the long run, it would be nice if we came up with a way to handle this using a bit of logic. We can figure out if the current resource owns all the pods on the Pods tab using owner references and the uid of the currently viewed resource. That being said, I think a solution like that might blow up the scope of this PR, so I'd be fine with a solution that uses redux as above. |
We should be able to use the existing |
Take 2 using |
Note: I intend to squash commits, but wanted to confirm we want the change for |
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.
/lgtm
What about |
I think it makes sense to add Replication Controllers here as well. We want to see the owner for Deployments, Deployment Configs, and Cron Jobs. I see you've left out those resources, which is probably right. It would be nice to hide the Namespace column, but we can make that a separate change. |
and enable for daemon sets, jobs, replica sets, replication controllers, and stateful sets
@rhamilto: This pull request references Bugzilla bug 1830121, which is valid. 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. |
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rhamilto, TheRealJon 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 |
@rhamilto: All pull requests linked via external trackers have merged: openshift/console#5368. Bugzilla bug 1830121 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. |
and enable for daemon sets, jobs, replica sets, replication controllers, and stateful sets
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1830121