{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/6476","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/6476/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/6476/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/6476/events","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/6476","id":66681441,"number":6476,"title":"fix kubeconfig serialization","user":{"login":"deads2k","id":8225098,"avatar_url":"https://avatars.githubusercontent.com/u/8225098?v=3","gravatar_id":"","url":"https://api.github.com/users/deads2k","html_url":"https://github.com/deads2k","followers_url":"https://api.github.com/users/deads2k/followers","following_url":"https://api.github.com/users/deads2k/following{/other_user}","gists_url":"https://api.github.com/users/deads2k/gists{/gist_id}","starred_url":"https://api.github.com/users/deads2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deads2k/subscriptions","organizations_url":"https://api.github.com/users/deads2k/orgs","repos_url":"https://api.github.com/users/deads2k/repos","events_url":"https://api.github.com/users/deads2k/events{/privacy}","received_events_url":"https://api.github.com/users/deads2k/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/cla:%20no","name":"cla: no","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"jlowdermilk","id":2101035,"avatar_url":"https://avatars.githubusercontent.com/u/2101035?v=3","gravatar_id":"","url":"https://api.github.com/users/jlowdermilk","html_url":"https://github.com/jlowdermilk","followers_url":"https://api.github.com/users/jlowdermilk/followers","following_url":"https://api.github.com/users/jlowdermilk/following{/other_user}","gists_url":"https://api.github.com/users/jlowdermilk/gists{/gist_id}","starred_url":"https://api.github.com/users/jlowdermilk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlowdermilk/subscriptions","organizations_url":"https://api.github.com/users/jlowdermilk/orgs","repos_url":"https://api.github.com/users/jlowdermilk/repos","events_url":"https://api.github.com/users/jlowdermilk/events{/privacy}","received_events_url":"https://api.github.com/users/jlowdermilk/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-04-06T19:08:21Z","updated_at":"2015-04-07T05:24:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/6476","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/6476","diff_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/6476.diff","patch_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/6476.patch"},"body":"Partially addresses https://github.com/GoogleCloudPlatform/kubernetes/issues/5625.\r\n\r\nThis updates `kubectl config view` to produce the output based on the serialization format instead of the in memory copy.\r\n\r\nI attempted to do this before, but I failed to handle the different templates that already existed and that resulted in e2e failures.  This time I've update the templates in the scripts (see the `update scripts with correct templates` commit).  I'm running e2e now, but the individual formats were equivalent when I tested them.  See https://gist.github.com/deads2k/c294a882c9358ea7679f for how I located them and what the equivalence was."},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/comments/90364407","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/6476#issuecomment-90364407","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/6476","id":90364407,"user":{"login":"jlowdermilk","id":2101035,"avatar_url":"https://avatars.githubusercontent.com/u/2101035?v=3","gravatar_id":"","url":"https://api.github.com/users/jlowdermilk","html_url":"https://github.com/jlowdermilk","followers_url":"https://api.github.com/users/jlowdermilk/followers","following_url":"https://api.github.com/users/jlowdermilk/following{/other_user}","gists_url":"https://api.github.com/users/jlowdermilk/gists{/gist_id}","starred_url":"https://api.github.com/users/jlowdermilk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlowdermilk/subscriptions","organizations_url":"https://api.github.com/users/jlowdermilk/orgs","repos_url":"https://api.github.com/users/jlowdermilk/repos","events_url":"https://api.github.com/users/jlowdermilk/events{/privacy}","received_events_url":"https://api.github.com/users/jlowdermilk/received_events","type":"User","site_admin":false},"created_at":"2015-04-07T05:24:28Z","updated_at":"2015-04-07T05:24:28Z","body":"LGTM, provided e2e is passing. It's unfortunate that this makes `kubectl config view -o template` even harder to use; the template was tricky to read before, it's now practically inscrutable. Still useful for scripting, but pretty user-unfriendly."}}