Files
kubernetes/pkg/kubectl/cmd/util
Kubernetes Submit Queue ee8c6d99b6 Merge pull request #62214 from soltysh/remove_factory_duplication
Automatic merge from submit-queue (batch tested with PRs 62208, 62114, 62144, 60460, 62214). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Get namespace and selectors for attach and logs in a common function

**Special notes for your reviewer**:
I've squashed the two places we need to update to be able to get selector and namespace for resource when getting logs or attaching to it. 

/assign @juanvallejo @deads2k 

**Release note**:
```release-note
NONE
```
2018-04-06 17:06:20 -07:00
..
2018-02-16 13:43:01 -08:00
2017-10-15 18:18:13 -07:00
2017-10-15 18:18:13 -07:00
2018-03-26 19:33:42 +02:00
2018-04-04 08:23:21 -04:00
2018-04-04 08:23:21 -04:00
2018-03-21 09:13:21 +08:00
2018-03-12 10:34:08 +08:00