{"action":"created","issue":{"url":"https://api.github.com/repos/deis/workflow/issues/628","repository_url":"https://api.github.com/repos/deis/workflow","labels_url":"https://api.github.com/repos/deis/workflow/issues/628/labels{/name}","comments_url":"https://api.github.com/repos/deis/workflow/issues/628/comments","events_url":"https://api.github.com/repos/deis/workflow/issues/628/events","html_url":"https://github.com/deis/workflow/pull/628","id":192978418,"number":628,"title":"Update command used to auth to kubernetes host","user":{"login":"chexxor","id":843161,"avatar_url":"https://avatars.githubusercontent.com/u/843161?v=3","gravatar_id":"","url":"https://api.github.com/users/chexxor","html_url":"https://github.com/chexxor","followers_url":"https://api.github.com/users/chexxor/followers","following_url":"https://api.github.com/users/chexxor/following{/other_user}","gists_url":"https://api.github.com/users/chexxor/gists{/gist_id}","starred_url":"https://api.github.com/users/chexxor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chexxor/subscriptions","organizations_url":"https://api.github.com/users/chexxor/orgs","repos_url":"https://api.github.com/users/chexxor/repos","events_url":"https://api.github.com/users/chexxor/events{/privacy}","received_events_url":"https://api.github.com/users/chexxor/received_events","type":"User","site_admin":false},"labels":[{"id":330878717,"url":"https://api.github.com/repos/deis/workflow/labels/awaiting%20review","name":"awaiting review","color":"e11d21","default":false},{"id":330878796,"url":"https://api.github.com/repos/deis/workflow/labels/docs","name":"docs","color":"5319e7","default":false},{"id":330878977,"url":"https://api.github.com/repos/deis/workflow/labels/LGTM1","name":"LGTM1","color":"009800","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/deis/workflow/milestones/18","html_url":"https://github.com/deis/workflow/milestones/v2.10","labels_url":"https://api.github.com/repos/deis/workflow/milestones/18/labels","id":2096258,"number":18,"title":"v2.10","description":null,"creator":{"login":"deis-admin","id":12703824,"avatar_url":"https://avatars.githubusercontent.com/u/12703824?v=3","gravatar_id":"","url":"https://api.github.com/users/deis-admin","html_url":"https://github.com/deis-admin","followers_url":"https://api.github.com/users/deis-admin/followers","following_url":"https://api.github.com/users/deis-admin/following{/other_user}","gists_url":"https://api.github.com/users/deis-admin/gists{/gist_id}","starred_url":"https://api.github.com/users/deis-admin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deis-admin/subscriptions","organizations_url":"https://api.github.com/users/deis-admin/orgs","repos_url":"https://api.github.com/users/deis-admin/repos","events_url":"https://api.github.com/users/deis-admin/events{/privacy}","received_events_url":"https://api.github.com/users/deis-admin/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":0,"state":"open","created_at":"2016-10-26T23:59:28Z","updated_at":"2016-12-06T17:37:10Z","due_on":"2017-01-04T00:00:00Z","closed_at":null},"comments":6,"created_at":"2016-12-01T22:18:16Z","updated_at":"2016-12-06T19:33:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/deis/workflow/pulls/628","html_url":"https://github.com/deis/workflow/pull/628","diff_url":"https://github.com/deis/workflow/pull/628.diff","patch_url":"https://github.com/deis/workflow/pull/628.patch"},"body":"Note that I'm a total newcomer to Deis. I also haven't verified this problem/fix from a technical point of view. It's worth sharing the fix here, though, in case it **is** verified and we want to fix it.\r\n\r\nWhen I ran `$ kubectl cluster-info`, I got this error:\r\n`error: google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.`\r\n\r\nLooks like the auth mechanism was updated a few months ago: https://github.com/kubernetes/kubernetes/issues/30617\r\n\r\n> Previously, gcloud would have configured kubectl to use the cluster's static client certificate to authenticate. Now, gcloud is configuring kubectl to use the service account's credentials.\r\n> \r\n> Kubectl is just using the Application Default Credentials library, and it looks like this is part of the ADC flow for using a JSON-key service account.\r\n\r\nAt the bottom of that thread, this command was suggested, which worked for me:\r\n`$ gcloud auth application-default login`."},"comment":{"url":"https://api.github.com/repos/deis/workflow/issues/comments/265248991","html_url":"https://github.com/deis/workflow/pull/628#issuecomment-265248991","issue_url":"https://api.github.com/repos/deis/workflow/issues/628","id":265248991,"user":{"login":"bacongobbler","id":1360539,"avatar_url":"https://avatars.githubusercontent.com/u/1360539?v=3","gravatar_id":"","url":"https://api.github.com/users/bacongobbler","html_url":"https://github.com/bacongobbler","followers_url":"https://api.github.com/users/bacongobbler/followers","following_url":"https://api.github.com/users/bacongobbler/following{/other_user}","gists_url":"https://api.github.com/users/bacongobbler/gists{/gist_id}","starred_url":"https://api.github.com/users/bacongobbler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bacongobbler/subscriptions","organizations_url":"https://api.github.com/users/bacongobbler/orgs","repos_url":"https://api.github.com/users/bacongobbler/repos","events_url":"https://api.github.com/users/bacongobbler/events{/privacy}","received_events_url":"https://api.github.com/users/bacongobbler/received_events","type":"User","site_admin":false},"created_at":"2016-12-06T19:33:20Z","updated_at":"2016-12-06T19:33:20Z","body":"Almost there! It's just missing a colon:\r\n\r\n```\r\ndocs(gke/boot): update command to auth to kubernetes host\r\n```\r\n\r\ndeisrel is a little finnicky :)\r\n\r\nThanks!"}}
{"actor":{"display_login":"bacongobbler"}}