{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/4909","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/4909/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/4909/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/4909/events","html_url":"https://github.com/kubernetes/kubernetes/issues/4909","id":59284978,"number":4909,"title":"Create subresource end points for replication controllers","user":{"login":"bprashanth","id":10927820,"avatar_url":"https://avatars.githubusercontent.com/u/10927820?v=3","gravatar_id":"","url":"https://api.github.com/users/bprashanth","html_url":"https://github.com/bprashanth","followers_url":"https://api.github.com/users/bprashanth/followers","following_url":"https://api.github.com/users/bprashanth/following{/other_user}","gists_url":"https://api.github.com/users/bprashanth/gists{/gist_id}","starred_url":"https://api.github.com/users/bprashanth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bprashanth/subscriptions","organizations_url":"https://api.github.com/users/bprashanth/orgs","repos_url":"https://api.github.com/users/bprashanth/repos","events_url":"https://api.github.com/users/bprashanth/events{/privacy}","received_events_url":"https://api.github.com/users/bprashanth/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/api","name":"area/api","color":"e1ed21"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/usability","name":"area/usability","color":"bfe5bf"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/component/apiserver","name":"component/apiserver","color":"0052cc"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/priority/P1","name":"priority/P1","color":"eb6420"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/team/control-plane","name":"team/control-plane","color":"d2b48c"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/kubernetes/kubernetes/milestones/16","html_url":"https://github.com/kubernetes/kubernetes/milestones/v1.2-candidate","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/milestones/16/labels","id":1278500,"number":16,"title":"v1.2-candidate","description":"Things to consider for next minor release.","creator":{"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},"open_issues":65,"closed_issues":1,"state":"open","created_at":"2015-08-29T03:54:34Z","updated_at":"2015-09-25T20:15:17Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-02-27T19:50:41Z","updated_at":"2015-09-26T00:27:25Z","closed_at":null,"body":"As discussed on https://github.com/GoogleCloudPlatform/kubernetes/issues/2726 it would be nice to have replicationControllers/foo/status as a watchable endpoint that discards updates to the spec. Giving  status and spec different resource versions is out of scope of this bug."},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/143383218","html_url":"https://github.com/kubernetes/kubernetes/issues/4909#issuecomment-143383218","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/4909","id":143383218,"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-09-26T00:27:25Z","updated_at":"2015-09-26T00:27:25Z","body":"By \"restrict\", I assume you mean just dropping status on POST, PUT, and PATCH to the regular endpoint and only applying updates performed using the /status subresource.\r\n\r\nIt is technically a breaking change, but the RC manager isn't very pluggable at the moment, and a user would need to upgrade the apiserver and controller-manager at different times to expose a problem. A user posting to status is almost certainly accidental (e.g., `kubectl get rc foo | sed | kubectl replace -f -`) and would be soon overwritten by controller-manager, anyway. Additionally, it's reasonable that an admin would want to lock this down -- it's closing a DoS hole.\r\n\r\nWe should do it and write good release notes."}}