{"action":"opened","issue":{"url":"https://api.github.com/repos/Azure/vscode-kubernetes-tools/issues/242","repository_url":"https://api.github.com/repos/Azure/vscode-kubernetes-tools","labels_url":"https://api.github.com/repos/Azure/vscode-kubernetes-tools/issues/242/labels{/name}","comments_url":"https://api.github.com/repos/Azure/vscode-kubernetes-tools/issues/242/comments","events_url":"https://api.github.com/repos/Azure/vscode-kubernetes-tools/issues/242/events","html_url":"https://github.com/Azure/vscode-kubernetes-tools/issues/242","id":333142388,"node_id":"MDU6SXNzdWUzMzMxNDIzODg=","number":242,"title":"kubeconfig.ts does not respect kubeconfig setting or environment variable","user":{"login":"itowlson","id":865538,"node_id":"MDQ6VXNlcjg2NTUzOA==","avatar_url":"https://avatars1.githubusercontent.com/u/865538?v=4","gravatar_id":"","url":"https://api.github.com/users/itowlson","html_url":"https://github.com/itowlson","followers_url":"https://api.github.com/users/itowlson/followers","following_url":"https://api.github.com/users/itowlson/following{/other_user}","gists_url":"https://api.github.com/users/itowlson/gists{/gist_id}","starred_url":"https://api.github.com/users/itowlson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itowlson/subscriptions","organizations_url":"https://api.github.com/users/itowlson/orgs","repos_url":"https://api.github.com/users/itowlson/repos","events_url":"https://api.github.com/users/itowlson/events{/privacy}","received_events_url":"https://api.github.com/users/itowlson/received_events","type":"User","site_admin":false},"labels":[{"id":654295436,"node_id":"MDU6TGFiZWw2NTQyOTU0MzY=","url":"https://api.github.com/repos/Azure/vscode-kubernetes-tools/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":{"login":"itowlson","id":865538,"node_id":"MDQ6VXNlcjg2NTUzOA==","avatar_url":"https://avatars1.githubusercontent.com/u/865538?v=4","gravatar_id":"","url":"https://api.github.com/users/itowlson","html_url":"https://github.com/itowlson","followers_url":"https://api.github.com/users/itowlson/followers","following_url":"https://api.github.com/users/itowlson/following{/other_user}","gists_url":"https://api.github.com/users/itowlson/gists{/gist_id}","starred_url":"https://api.github.com/users/itowlson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itowlson/subscriptions","organizations_url":"https://api.github.com/users/itowlson/orgs","repos_url":"https://api.github.com/users/itowlson/repos","events_url":"https://api.github.com/users/itowlson/events{/privacy}","received_events_url":"https://api.github.com/users/itowlson/received_events","type":"User","site_admin":false},"assignees":[{"login":"itowlson","id":865538,"node_id":"MDQ6VXNlcjg2NTUzOA==","avatar_url":"https://avatars1.githubusercontent.com/u/865538?v=4","gravatar_id":"","url":"https://api.github.com/users/itowlson","html_url":"https://github.com/itowlson","followers_url":"https://api.github.com/users/itowlson/followers","following_url":"https://api.github.com/users/itowlson/following{/other_user}","gists_url":"https://api.github.com/users/itowlson/gists{/gist_id}","starred_url":"https://api.github.com/users/itowlson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itowlson/subscriptions","organizations_url":"https://api.github.com/users/itowlson/orgs","repos_url":"https://api.github.com/users/itowlson/repos","events_url":"https://api.github.com/users/itowlson/events{/privacy}","received_events_url":"https://api.github.com/users/itowlson/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-06-18T06:02:28Z","updated_at":"2018-06-18T06:02:28Z","closed_at":null,"author_association":"MEMBER","body":"From `kubeconfig.ts`:\r\n\r\n```\r\nexport function readKubectlConfig(): Promise<KubeConfig> {\r\n    return new Promise((resolve, reject) => {\r\n        const kubeConfig = shell.combinePath(shell.home(), \".kube/config\");\r\n```\r\n\r\nIf the KUBECONFIG environment variable is set, or the `vs-kubernetes.kubeconfig` configuration setting is present, then we should probably be using that config file instead of the default one."}}
{"actor":{"display_login":"itowlson"}}