{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/23262","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/23262/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/23262/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/23262/events","html_url":"https://github.com/kubernetes/kubernetes/pull/23262","id":142216369,"number":23262,"title":"Make kubectl bash-completion namespace and resource alias aware","user":{"login":"sttts","id":730123,"avatar_url":"https://avatars.githubusercontent.com/u/730123?v=3","gravatar_id":"","url":"https://api.github.com/users/sttts","html_url":"https://github.com/sttts","followers_url":"https://api.github.com/users/sttts/followers","following_url":"https://api.github.com/users/sttts/following{/other_user}","gists_url":"https://api.github.com/users/sttts/gists{/gist_id}","starred_url":"https://api.github.com/users/sttts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sttts/subscriptions","organizations_url":"https://api.github.com/users/sttts/orgs","repos_url":"https://api.github.com/users/sttts/repos","events_url":"https://api.github.com/users/sttts/events{/privacy}","received_events_url":"https://api.github.com/users/sttts/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cla:%20yes","name":"cla: yes","color":"bfe5bf"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/lgtm","name":"lgtm","color":"15dd18"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/release-note-none","name":"release-note-none","color":"c2e0c6"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/size/L","name":"size/L","color":"ee9900"}],"state":"open","locked":false,"assignee":{"login":"eparis","id":8093535,"avatar_url":"https://avatars.githubusercontent.com/u/8093535?v=3","gravatar_id":"","url":"https://api.github.com/users/eparis","html_url":"https://github.com/eparis","followers_url":"https://api.github.com/users/eparis/followers","following_url":"https://api.github.com/users/eparis/following{/other_user}","gists_url":"https://api.github.com/users/eparis/gists{/gist_id}","starred_url":"https://api.github.com/users/eparis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eparis/subscriptions","organizations_url":"https://api.github.com/users/eparis/orgs","repos_url":"https://api.github.com/users/eparis/repos","events_url":"https://api.github.com/users/eparis/events{/privacy}","received_events_url":"https://api.github.com/users/eparis/received_events","type":"User","site_admin":false},"milestone":null,"comments":38,"created_at":"2016-03-20T22:39:47Z","updated_at":"2016-04-14T11:17:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/23262","html_url":"https://github.com/kubernetes/kubernetes/pull/23262","diff_url":"https://github.com/kubernetes/kubernetes/pull/23262.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/23262.patch"},"body":"![kubectl-completion](https://cloud.githubusercontent.com/assets/730123/13912456/94abf9a2-ef3d-11e5-9c8a-3df7058ea8f0.gif)\r\n\r\n- filter resource listing by `--namespace` flag given before in the command line\r\n```bash\r\n$ kubectl get pod --namespace=kube-system <tab><tab>\r\nkube-dns-v9-2wuzj   kube-dns-v9-llqxa\r\n```\r\n- add completion of `--namespace`\r\n```bash\r\n$ kubectl get pod --namespace=<tab><tab>\r\n[*]         default      ingress      kube-system\r\n```\r\n\r\n- add support for plural nouns and aliases like `rc`"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/209886888","html_url":"https://github.com/kubernetes/kubernetes/pull/23262#issuecomment-209886888","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/23262","id":209886888,"user":{"login":"k8s-bot","id":12551979,"avatar_url":"https://avatars.githubusercontent.com/u/12551979?v=3","gravatar_id":"","url":"https://api.github.com/users/k8s-bot","html_url":"https://github.com/k8s-bot","followers_url":"https://api.github.com/users/k8s-bot/followers","following_url":"https://api.github.com/users/k8s-bot/following{/other_user}","gists_url":"https://api.github.com/users/k8s-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/k8s-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k8s-bot/subscriptions","organizations_url":"https://api.github.com/users/k8s-bot/orgs","repos_url":"https://api.github.com/users/k8s-bot/repos","events_url":"https://api.github.com/users/k8s-bot/events{/privacy}","received_events_url":"https://api.github.com/users/k8s-bot/received_events","type":"User","site_admin":false},"created_at":"2016-04-14T11:17:41Z","updated_at":"2016-04-14T11:17:41Z","body":"GCE e2e build/test **passed** for commit f832aafc7f58c6c222cb1263d7779a04c628671f.\n* [Build Log](http://pr-test.k8s.io/23262/kubernetes-pull-build-test-e2e-gce/35454/build-log.txt)\n* [Test Artifacts](https://console.developers.google.com/storage/browser/kubernetes-jenkins/pr-logs/pull/23262/kubernetes-pull-build-test-e2e-gce/35454/artifacts/)\n* [Internal Jenkins Results](http://goto.google.com/prkubekins/job/kubernetes-pull-build-test-e2e-gce//35454)\n"}}