{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/33685","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/33685/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/33685/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/33685/events","html_url":"https://github.com/kubernetes/kubernetes/issues/33685","id":179870370,"number":33685,"title":"Tab completion doesn't work correctly when using `-n` instead of `--namespace`","user":{"login":"colemickens","id":327028,"avatar_url":"https://avatars.githubusercontent.com/u/327028?v=3","gravatar_id":"","url":"https://api.github.com/users/colemickens","html_url":"https://github.com/colemickens","followers_url":"https://api.github.com/users/colemickens/followers","following_url":"https://api.github.com/users/colemickens/following{/other_user}","gists_url":"https://api.github.com/users/colemickens/gists{/gist_id}","starred_url":"https://api.github.com/users/colemickens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colemickens/subscriptions","organizations_url":"https://api.github.com/users/colemickens/orgs","repos_url":"https://api.github.com/users/colemickens/repos","events_url":"https://api.github.com/users/colemickens/events{/privacy}","received_events_url":"https://api.github.com/users/colemickens/received_events","type":"User","site_admin":false},"labels":[{"id":138247961,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/component/kubectl","name":"component/kubectl","color":"0052cc","default":false},{"id":114528273,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/priority/P2","name":"priority/P2","color":"fbca04","default":false},{"id":243794453,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/team/ux","name":"team/ux","color":"d2b48c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-28T19:47:56Z","updated_at":"2016-11-14T17:24:43Z","closed_at":null,"body":"**Kubernetes version** (use `kubectl version`):\n\n```\nClient Version: version.Info{Major:\"1\", Minor:\"4\", GitVersion:\"v1.4.0\", GitCommit:\"a16c0a7f71a6f93c7e0f222d961f4675cd97a46b\", GitTreeState:\"clean\", BuildDate:\"2016-09-26T18:16:57Z\", GoVersion:\"go1.6.3\", Compiler:\"gc\", Platform:\"linux/amd64\"}                                                                             Server Version: version.Info{Major:\"1\", Minor:\"4\", GitVersion:\"v1.4.0\", GitCommit:\"a16c0a7f71a6f93c7e0f222d961f4675cd97a46b\", GitTreeState:\"clean\", BuildDate:\"2016-09-26T18:10:32Z\", GoVersion:\"go1.6.3\", Compiler:\"gc\", Platform:\"linux/amd64\"}\n```\n\n**Environment**:\n- **Cloud provider or hardware configuration**: Azure\n- **OS** (e.g. from /etc/os-release): Ubuntu 16.04\n- **Kernel** (e.g. `uname -a`): Whatever is in Xenial right now\n- **Install tools**: Kubernetes-Anywhere\n\n**What happened**:\n\nI typed: `kubectl logs -n kube-system [tab]` and got non-kube-system pods suggested.\n\n**What you expected to happen**:\n\nTo get the same results as when I type: `kubectl logs --namespace=kube-system [tab]`\n\n**How to reproduce it** (as minimally and precisely as possible):\n\nTry to use the short-hand flag with tab completion. Observe that it doesn't filter to the namespace correctly.\n\n**Anything else do we need to know**:\n\nHere's an asciinema demonstration: https://asciinema.org/a/87449\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/260400895","html_url":"https://github.com/kubernetes/kubernetes/issues/33685#issuecomment-260400895","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/33685","id":260400895,"user":{"login":"colemickens","id":327028,"avatar_url":"https://avatars.githubusercontent.com/u/327028?v=3","gravatar_id":"","url":"https://api.github.com/users/colemickens","html_url":"https://github.com/colemickens","followers_url":"https://api.github.com/users/colemickens/followers","following_url":"https://api.github.com/users/colemickens/following{/other_user}","gists_url":"https://api.github.com/users/colemickens/gists{/gist_id}","starred_url":"https://api.github.com/users/colemickens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colemickens/subscriptions","organizations_url":"https://api.github.com/users/colemickens/orgs","repos_url":"https://api.github.com/users/colemickens/repos","events_url":"https://api.github.com/users/colemickens/events{/privacy}","received_events_url":"https://api.github.com/users/colemickens/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T17:24:43Z","updated_at":"2016-11-14T17:24:43Z","body":"You must have an old `kubectl`. `kubectl -n` was added recently."}}
{"actor":{"display_login":"colemickens"}}