{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/62989","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/62989/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/62989/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/62989/events","html_url":"https://github.com/kubernetes/kubernetes/issues/62989","id":316683775,"number":62989,"title":"`--resource` option in `kubectl create (cluster)role` does not support asterisk `*`","user":{"login":"nak3","id":2138339,"avatar_url":"https://avatars2.githubusercontent.com/u/2138339?v=4","gravatar_id":"","url":"https://api.github.com/users/nak3","html_url":"https://github.com/nak3","followers_url":"https://api.github.com/users/nak3/followers","following_url":"https://api.github.com/users/nak3/following{/other_user}","gists_url":"https://api.github.com/users/nak3/gists{/gist_id}","starred_url":"https://api.github.com/users/nak3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nak3/subscriptions","organizations_url":"https://api.github.com/users/nak3/orgs","repos_url":"https://api.github.com/users/nak3/repos","events_url":"https://api.github.com/users/nak3/events{/privacy}","received_events_url":"https://api.github.com/users/nak3/received_events","type":"User","site_admin":false},"labels":[{"id":267761362,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/feature","name":"kind/feature","color":"c7def8","default":false},{"id":617149945,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/needs-sig","name":"needs-sig","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-23T06:53:45Z","updated_at":"2018-04-23T06:57:35Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"**Is this a BUG REPORT or FEATURE REQUEST?**:\r\n\r\n/kind feature\r\n\r\n**What happened**:\r\n\r\n`--resource` option in `kubectl create (cluster)role` does not support asterisk `*` as below:\r\n\r\n~~~\r\n# kubectl create clusterrole superrole --verb=get  --resource=*\r\nthe server doesn't have a resource type \"*\"\r\n~~~\r\n\r\n**What you expected to happen**:\r\n\r\nFollowing command works fine.\r\n\r\n~~~\r\n# kubectl create clusterrole superrole --verb=get  --resource=*\r\n~~~\r\n\r\n**How to reproduce it (as minimally and precisely as possible)**:\r\n\r\nJust Run:\r\n\r\n~~~\r\n# kubectl create clusterrole superrole --verb=get  --resource=*\r\nthe server doesn't have a resource type \"*\"\r\n~~~\r\n\r\n**Environment**:\r\n\r\n~~~\r\n# kubectl version\r\nClient Version: version.Info{Major:\"1\", Minor:\"10\", GitVersion:\"v1.10.0\", GitCommit:\"fc32d2f3698e36b93322a3465f63a14e9f0eaead\", GitTreeState:\"clean\", BuildDate:\"2018-03-26T16:55:54Z\", GoVersion:\"go1.9.3\", Compiler:\"gc\", Platform:\"linux/amd64\"}\r\nServer Version: version.Info{Major:\"1\", Minor:\"10\", GitVersion:\"v1.10.1\", GitCommit:\"d4ab47518836c750f9949b9e0d387f20fb92260b\", GitTreeState:\"clean\", BuildDate:\"2018-04-12T14:14:26Z\", GoVersion:\"go1.9.3\", Compiler:\"gc\", Platform:\"linux/amd64\"}\r\n~~~"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/383473538","html_url":"https://github.com/kubernetes/kubernetes/issues/62989#issuecomment-383473538","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/62989","id":383473538,"user":{"login":"nak3","id":2138339,"avatar_url":"https://avatars2.githubusercontent.com/u/2138339?v=4","gravatar_id":"","url":"https://api.github.com/users/nak3","html_url":"https://github.com/nak3","followers_url":"https://api.github.com/users/nak3/followers","following_url":"https://api.github.com/users/nak3/following{/other_user}","gists_url":"https://api.github.com/users/nak3/gists{/gist_id}","starred_url":"https://api.github.com/users/nak3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nak3/subscriptions","organizations_url":"https://api.github.com/users/nak3/orgs","repos_url":"https://api.github.com/users/nak3/repos","events_url":"https://api.github.com/users/nak3/events{/privacy}","received_events_url":"https://api.github.com/users/nak3/received_events","type":"User","site_admin":false},"created_at":"2018-04-23T06:57:35Z","updated_at":"2018-04-23T06:57:35Z","author_association":"CONTRIBUTOR","body":"@kubernetes/sig-cli-feature-requests"}}
{"actor":{"display_login":"nak3"}}