{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/2294","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/2294/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/2294/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/2294/events","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/issues/2294","id":48418595,"number":2294,"title":"Bug: reflector.go stores objects in cache by name only, broken in namespaces","user":{"login":"derekwaynecarr","id":6233452,"avatar_url":"https://avatars.githubusercontent.com/u/6233452?v=3","gravatar_id":"","url":"https://api.github.com/users/derekwaynecarr","html_url":"https://github.com/derekwaynecarr","followers_url":"https://api.github.com/users/derekwaynecarr/followers","following_url":"https://api.github.com/users/derekwaynecarr/following{/other_user}","gists_url":"https://api.github.com/users/derekwaynecarr/gists{/gist_id}","starred_url":"https://api.github.com/users/derekwaynecarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekwaynecarr/subscriptions","organizations_url":"https://api.github.com/users/derekwaynecarr/orgs","repos_url":"https://api.github.com/users/derekwaynecarr/repos","events_url":"https://api.github.com/users/derekwaynecarr/events{/privacy}","received_events_url":"https://api.github.com/users/derekwaynecarr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/kind/bug","name":"kind/bug","color":"ff0000"},{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/priority/P2","name":"priority/P2","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":27,"created_at":"2014-11-11T18:47:05Z","updated_at":"2015-01-23T21:54:04Z","closed_at":null,"body":"This is broken for resources that are namespaced.\r\n\r\nWe need to store objects in the cache by namespace+name.\r\n\r\nExample:\r\nTwo resources with same name in different namespaces will cause a cache clash."},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/comments/71272978","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/issues/2294#issuecomment-71272978","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/2294","id":71272978,"user":{"login":"smarterclayton","id":1163175,"avatar_url":"https://avatars.githubusercontent.com/u/1163175?v=3","gravatar_id":"","url":"https://api.github.com/users/smarterclayton","html_url":"https://github.com/smarterclayton","followers_url":"https://api.github.com/users/smarterclayton/followers","following_url":"https://api.github.com/users/smarterclayton/following{/other_user}","gists_url":"https://api.github.com/users/smarterclayton/gists{/gist_id}","starred_url":"https://api.github.com/users/smarterclayton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smarterclayton/subscriptions","organizations_url":"https://api.github.com/users/smarterclayton/orgs","repos_url":"https://api.github.com/users/smarterclayton/repos","events_url":"https://api.github.com/users/smarterclayton/events{/privacy}","received_events_url":"https://api.github.com/users/smarterclayton/received_events","type":"User","site_admin":false},"created_at":"2015-01-23T21:54:04Z","updated_at":"2015-01-23T21:54:04Z","body":"For instance, what if you are trying to reflect contents from two deployments at once?\n\n----- Original Message -----\n> Then both of them need to agree what constitutes a unique identifier to Get.\n> \n> ----- Original Message -----\n> > Still confused- the reflectors aren't consumed. cache.Stores are consumed.\n> > The reflector is an orthogonal/external actor which populates a\n> > cache.Store.\n> > \n> > ---\n> > Reply to this email directly or view it on GitHub:\n> > https://github.com/GoogleCloudPlatform/kubernetes/issues/2294#issuecomment-71266888\n>"}}