{"action":"created","issue":{"url":"https://api.github.com/repos/jtblin/kube2iam/issues/68","repository_url":"https://api.github.com/repos/jtblin/kube2iam","labels_url":"https://api.github.com/repos/jtblin/kube2iam/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/jtblin/kube2iam/issues/68/comments","events_url":"https://api.github.com/repos/jtblin/kube2iam/issues/68/events","html_url":"https://github.com/jtblin/kube2iam/issues/68","id":225893636,"number":68,"title":"Use pod namespace and name in logs to identify pods","user":{"login":"ankon","id":1210641,"avatar_url":"https://avatars2.githubusercontent.com/u/1210641?v=3","gravatar_id":"","url":"https://api.github.com/users/ankon","html_url":"https://github.com/ankon","followers_url":"https://api.github.com/users/ankon/followers","following_url":"https://api.github.com/users/ankon/following{/other_user}","gists_url":"https://api.github.com/users/ankon/gists{/gist_id}","starred_url":"https://api.github.com/users/ankon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankon/subscriptions","organizations_url":"https://api.github.com/users/ankon/orgs","repos_url":"https://api.github.com/users/ankon/repos","events_url":"https://api.github.com/users/ankon/events{/privacy}","received_events_url":"https://api.github.com/users/ankon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-03T06:25:42Z","updated_at":"2017-06-04T14:45:30Z","closed_at":null,"body":"kube2iam currently identifies the pods using their \"remote address\", but that means when scanning through these logs one needs to manually translate IPs into \"which pod is that?\" This is especially problematic in highly volatile environments, where IPs get recycled over time. \r\n\r\nOperationally I do need to be able to review a kube2iam log and check that the pods I do assign roles get the these roles, and pods that should get the default roles do.\r\n\r\nIt would be really helpful if mate could log the pod namespace _and_ name for each log message related to a specific pod."},"comment":{"url":"https://api.github.com/repos/jtblin/kube2iam/issues/comments/306044358","html_url":"https://github.com/jtblin/kube2iam/issues/68#issuecomment-306044358","issue_url":"https://api.github.com/repos/jtblin/kube2iam/issues/68","id":306044358,"user":{"login":"jtblin","id":1388974,"avatar_url":"https://avatars1.githubusercontent.com/u/1388974?v=3","gravatar_id":"","url":"https://api.github.com/users/jtblin","html_url":"https://github.com/jtblin","followers_url":"https://api.github.com/users/jtblin/followers","following_url":"https://api.github.com/users/jtblin/following{/other_user}","gists_url":"https://api.github.com/users/jtblin/gists{/gist_id}","starred_url":"https://api.github.com/users/jtblin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtblin/subscriptions","organizations_url":"https://api.github.com/users/jtblin/orgs","repos_url":"https://api.github.com/users/jtblin/repos","events_url":"https://api.github.com/users/jtblin/events{/privacy}","received_events_url":"https://api.github.com/users/jtblin/received_events","type":"User","site_admin":false},"created_at":"2017-06-04T14:45:30Z","updated_at":"2017-06-04T14:45:30Z","body":"I've added pod and namespace where possible. There are a few places where we don't have the pod name but I intend to tackle that when I implement the new `NewIndexerInformer` instead of the store. I'll keep this issue open until it's done."}}
{"actor":{"display_login":"jtblin"}}