{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/35162","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/35162/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/35162/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/35162/events","html_url":"https://github.com/kubernetes/kubernetes/issues/35162","id":184093755,"number":35162,"title":"server and client should have their own instances of APIRegistrationManager","user":{"login":"nikhiljindal","id":10199099,"avatar_url":"https://avatars.githubusercontent.com/u/10199099?v=3","gravatar_id":"","url":"https://api.github.com/users/nikhiljindal","html_url":"https://github.com/nikhiljindal","followers_url":"https://api.github.com/users/nikhiljindal/followers","following_url":"https://api.github.com/users/nikhiljindal/following{/other_user}","gists_url":"https://api.github.com/users/nikhiljindal/gists{/gist_id}","starred_url":"https://api.github.com/users/nikhiljindal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikhiljindal/subscriptions","organizations_url":"https://api.github.com/users/nikhiljindal/orgs","repos_url":"https://api.github.com/users/nikhiljindal/repos","events_url":"https://api.github.com/users/nikhiljindal/events{/privacy}","received_events_url":"https://api.github.com/users/nikhiljindal/received_events","type":"User","site_admin":false},"labels":[{"id":173493835,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/team/CSI-API%20Machinery%20SIG","name":"team/CSI-API Machinery SIG","color":"d2b48c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2016-10-19T22:48:48Z","updated_at":"2016-11-16T21:40:11Z","closed_at":null,"body":"Now that we have APIRegistrationManager, we should update the server and client to instantiate their own instances of APIRegistrationManager and register the APIs independently.\n\nCurrently, we use DefaultAPIRegistrationManager everywhere. As a result, if the client depends on an API, it is included in the server automatically.\n\nhttps://github.com/kubernetes/kubernetes/issues/26675 is an example instance of the problem that this leads to. Calling `registered.AllPreferredGroupVersions()` in api server returns all group versions including the ones that client depends on. There should be a way to get all group versions included only in the server.\n\ncc @kubernetes/sig-cluster-federation @caesarxuchao \n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/261080793","html_url":"https://github.com/kubernetes/kubernetes/issues/35162#issuecomment-261080793","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/35162","id":261080793,"user":{"login":"lavalamp","id":647318,"avatar_url":"https://avatars.githubusercontent.com/u/647318?v=3","gravatar_id":"","url":"https://api.github.com/users/lavalamp","html_url":"https://github.com/lavalamp","followers_url":"https://api.github.com/users/lavalamp/followers","following_url":"https://api.github.com/users/lavalamp/following{/other_user}","gists_url":"https://api.github.com/users/lavalamp/gists{/gist_id}","starred_url":"https://api.github.com/users/lavalamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lavalamp/subscriptions","organizations_url":"https://api.github.com/users/lavalamp/orgs","repos_url":"https://api.github.com/users/lavalamp/repos","events_url":"https://api.github.com/users/lavalamp/events{/privacy}","received_events_url":"https://api.github.com/users/lavalamp/received_events","type":"User","site_admin":false},"created_at":"2016-11-16T21:40:11Z","updated_at":"2016-11-16T21:40:11Z","body":"This is why I added the \"announced\" package-- announced APIs can be shared.\r\n\r\nAgree that NO ONE should be referencing api.Scheme directly. Each binary should construct their scheme and it should be plumbed through all of the appropriate factories, etc..."}}
{"actor":{"display_login":"lavalamp"}}