{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/17516","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/17516/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/17516/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/17516/events","html_url":"https://github.com/kubernetes/kubernetes/pull/17516","id":117877614,"number":17516,"title":"kubectl: Validate flag usage against generators","user":{"login":"kargakis","id":3900799,"avatar_url":"https://avatars.githubusercontent.com/u/3900799?v=3","gravatar_id":"","url":"https://api.github.com/users/kargakis","html_url":"https://github.com/kargakis","followers_url":"https://api.github.com/users/kargakis/followers","following_url":"https://api.github.com/users/kargakis/following{/other_user}","gists_url":"https://api.github.com/users/kargakis/gists{/gist_id}","starred_url":"https://api.github.com/users/kargakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kargakis/subscriptions","organizations_url":"https://api.github.com/users/kargakis/orgs","repos_url":"https://api.github.com/users/kargakis/repos","events_url":"https://api.github.com/users/kargakis/events{/privacy}","received_events_url":"https://api.github.com/users/kargakis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/size/L","name":"size/L","color":"ee9900"}],"state":"open","locked":false,"assignee":{"login":"brendandburns","id":5751682,"avatar_url":"https://avatars.githubusercontent.com/u/5751682?v=3","gravatar_id":"","url":"https://api.github.com/users/brendandburns","html_url":"https://github.com/brendandburns","followers_url":"https://api.github.com/users/brendandburns/followers","following_url":"https://api.github.com/users/brendandburns/following{/other_user}","gists_url":"https://api.github.com/users/brendandburns/gists{/gist_id}","starred_url":"https://api.github.com/users/brendandburns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendandburns/subscriptions","organizations_url":"https://api.github.com/users/brendandburns/orgs","repos_url":"https://api.github.com/users/brendandburns/repos","events_url":"https://api.github.com/users/brendandburns/events{/privacy}","received_events_url":"https://api.github.com/users/brendandburns/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-11-19T18:31:52Z","updated_at":"2015-11-20T06:26:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/17516","html_url":"https://github.com/kubernetes/kubernetes/pull/17516","diff_url":"https://github.com/kubernetes/kubernetes/pull/17516.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/17516.patch"},"body":"This PR moves the generators into separate buckets and creates\r\nseparate calls for each one group. This helps in providing just the\r\nnecessary generators to each generator command.\r\n\r\nFixes https://github.com/kubernetes/kubernetes/issues/17498\r\n\r\nValidation of flags against generators is also added so that flags\r\nthat are not meant to be used with a specific generator will result\r\nin error.\r\n\r\n@bgrant0607 @smarterclayton @deads2k @kubernetes/kubectl "},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/158294292","html_url":"https://github.com/kubernetes/kubernetes/pull/17516#issuecomment-158294292","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/17516","id":158294292,"user":{"login":"bgrant0607","id":7725777,"avatar_url":"https://avatars.githubusercontent.com/u/7725777?v=3","gravatar_id":"","url":"https://api.github.com/users/bgrant0607","html_url":"https://github.com/bgrant0607","followers_url":"https://api.github.com/users/bgrant0607/followers","following_url":"https://api.github.com/users/bgrant0607/following{/other_user}","gists_url":"https://api.github.com/users/bgrant0607/gists{/gist_id}","starred_url":"https://api.github.com/users/bgrant0607/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgrant0607/subscriptions","organizations_url":"https://api.github.com/users/bgrant0607/orgs","repos_url":"https://api.github.com/users/bgrant0607/repos","events_url":"https://api.github.com/users/bgrant0607/events{/privacy}","received_events_url":"https://api.github.com/users/bgrant0607/received_events","type":"User","site_admin":false},"created_at":"2015-11-20T06:26:54Z","updated_at":"2015-11-20T06:26:54Z","body":"See also #14993"}}