{"action":"closed","issue":{"url":"https://api.github.com/repos/artsy/hokusai/issues/82","repository_url":"https://api.github.com/repos/artsy/hokusai","labels_url":"https://api.github.com/repos/artsy/hokusai/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/artsy/hokusai/issues/82/comments","events_url":"https://api.github.com/repos/artsy/hokusai/issues/82/events","html_url":"https://github.com/artsy/hokusai/issues/82","id":361850674,"node_id":"MDU6SXNzdWUzNjE4NTA2NzQ=","number":82,"title":"`hokusai check` fails due to unset kubectl context","user":{"login":"javamonn","id":5216744,"node_id":"MDQ6VXNlcjUyMTY3NDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/5216744?v=4","gravatar_id":"","url":"https://api.github.com/users/javamonn","html_url":"https://github.com/javamonn","followers_url":"https://api.github.com/users/javamonn/followers","following_url":"https://api.github.com/users/javamonn/following{/other_user}","gists_url":"https://api.github.com/users/javamonn/gists{/gist_id}","starred_url":"https://api.github.com/users/javamonn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javamonn/subscriptions","organizations_url":"https://api.github.com/users/javamonn/orgs","repos_url":"https://api.github.com/users/javamonn/repos","events_url":"https://api.github.com/users/javamonn/events{/privacy}","received_events_url":"https://api.github.com/users/javamonn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-19T17:29:52Z","updated_at":"2018-11-13T21:47:14Z","closed_at":"2018-11-13T21:47:14Z","author_association":"NONE","body":"I installed and configured `hokusai` according to our internal Artsy docs.\r\n\r\nRunning `hokusai check` unexpectedly fails on `kubectl not found`, though `kubectl` is installed correctly. Hokusai appears to work correctly even though the check fails. The issue appears to be that the check runs `kubectl version`, which returns a non-zero exit code as `kubectl config current-context` is unset.\r\n\r\nThe exact output I get from running `kubectl version`:\r\n\r\n```\r\nClient Version: version.Info{Major:\"1\", Minor:\"6\", GitVersion:\"v1.6.3\", GitCommit:\"0480917b552be33e2dba47386e51decb1a211df6\", GitTreeState:\"clean\", BuildDate:\"2017-05-10T15:48:59Z\", GoVersion:\"go1.7.5\", Compiler:\"gc\", Platform:\"darwin/amd64\"}\r\nUnable to connect to the server: dial tcp: lookup localhost on 8.8.8.8:53: no such host\r\n```"}}
{"actor":{"display_login":"izakp"}}