{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/coryodaniel/k8s_conf/pulls/4","id":242386341,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQyMzg2MzQx","html_url":"https://github.com/coryodaniel/k8s_conf/pull/4","diff_url":"https://github.com/coryodaniel/k8s_conf/pull/4.diff","patch_url":"https://github.com/coryodaniel/k8s_conf/pull/4.patch","issue_url":"https://api.github.com/repos/coryodaniel/k8s_conf/issues/4","number":4,"state":"open","locked":false,"title":"properly implement certificate-authority-data support","user":{"login":"mindreframer","id":1232,"node_id":"MDQ6VXNlcjEyMzI=","avatar_url":"https://avatars0.githubusercontent.com/u/1232?v=4","gravatar_id":"","url":"https://api.github.com/users/mindreframer","html_url":"https://github.com/mindreframer","followers_url":"https://api.github.com/users/mindreframer/followers","following_url":"https://api.github.com/users/mindreframer/following{/other_user}","gists_url":"https://api.github.com/users/mindreframer/gists{/gist_id}","starred_url":"https://api.github.com/users/mindreframer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mindreframer/subscriptions","organizations_url":"https://api.github.com/users/mindreframer/orgs","repos_url":"https://api.github.com/users/mindreframer/repos","events_url":"https://api.github.com/users/mindreframer/events{/privacy}","received_events_url":"https://api.github.com/users/mindreframer/received_events","type":"User","site_admin":false},"body":"problem: \r\n- current impl. always tries to read from the file system\r\n- this breaks for `certificate-authority-data`\r\n\r\n\r\nsolution: \r\n- use `cert_from_base64`\r\n- add test cases\r\n\r\n\r\nmisc: \r\n- relax requirements in the check for reading from home directory, this is not portable. :) also we should probably go further and use a __fake__ home directory, that we prepare for this test. maybe be overriding the $HOME env variable to a temp folder that contains the expected config file.","created_at":"2019-01-04T22:12:01Z","updated_at":"2019-01-04T22:12:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/coryodaniel/k8s_conf/pulls/4/commits","review_comments_url":"https://api.github.com/repos/coryodaniel/k8s_conf/pulls/4/comments","review_comment_url":"https://api.github.com/repos/coryodaniel/k8s_conf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coryodaniel/k8s_conf/issues/4/comments","statuses_url":"https://api.github.com/repos/coryodaniel/k8s_conf/statuses/b9bb55961045c14f8a55e983c724dfbf353c2cc6","head":{"label":"happycodrz:fix-certificate-authority-data_","ref":"fix-certificate-authority-data_","sha":"b9bb55961045c14f8a55e983c724dfbf353c2cc6","user":{"login":"happycodrz","id":39947194,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5OTQ3MTk0","avatar_url":"https://avatars2.githubusercontent.com/u/39947194?v=4","gravatar_id":"","url":"https://api.github.com/users/happycodrz","html_url":"https://github.com/happycodrz","followers_url":"https://api.github.com/users/happycodrz/followers","following_url":"https://api.github.com/users/happycodrz/following{/other_user}","gists_url":"https://api.github.com/users/happycodrz/gists{/gist_id}","starred_url":"https://api.github.com/users/happycodrz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/happycodrz/subscriptions","organizations_url":"https://api.github.com/users/happycodrz/orgs","repos_url":"https://api.github.com/users/happycodrz/repos","events_url":"https://api.github.com/users/happycodrz/events{/privacy}","received_events_url":"https://api.github.com/users/happycodrz/received_events","type":"Organization","site_admin":false},"repo":{"id":164156123,"node_id":"MDEwOlJlcG9zaXRvcnkxNjQxNTYxMjM=","name":"k8s_conf","full_name":"happycodrz/k8s_conf","private":false,"owner":{"login":"happycodrz","id":39947194,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5OTQ3MTk0","avatar_url":"https://avatars2.githubusercontent.com/u/39947194?v=4","gravatar_id":"","url":"https://api.github.com/users/happycodrz","html_url":"https://github.com/happycodrz","followers_url":"https://api.github.com/users/happycodrz/followers","following_url":"https://api.github.com/users/happycodrz/following{/other_user}","gists_url":"https://api.github.com/users/happycodrz/gists{/gist_id}","starred_url":"https://api.github.com/users/happycodrz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/happycodrz/subscriptions","organizations_url":"https://api.github.com/users/happycodrz/orgs","repos_url":"https://api.github.com/users/happycodrz/repos","events_url":"https://api.github.com/users/happycodrz/events{/privacy}","received_events_url":"https://api.github.com/users/happycodrz/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/happycodrz/k8s_conf","description":"Parse Kubernetes' config files and generate HTTP headers/options for authenticating to the k8s API.","fork":true,"url":"https://api.github.com/repos/happycodrz/k8s_conf","forks_url":"https://api.github.com/repos/happycodrz/k8s_conf/forks","keys_url":"https://api.github.com/repos/happycodrz/k8s_conf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/happycodrz/k8s_conf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/happycodrz/k8s_conf/teams","hooks_url":"https://api.github.com/repos/happycodrz/k8s_conf/hooks","issue_events_url":"https://api.github.com/repos/happycodrz/k8s_conf/issues/events{/number}","events_url":"https://api.github.com/repos/happycodrz/k8s_conf/events","assignees_url":"https://api.github.com/repos/happycodrz/k8s_conf/assignees{/user}","branches_url":"https://api.github.com/repos/happycodrz/k8s_conf/branches{/branch}","tags_url":"https://api.github.com/repos/happycodrz/k8s_conf/tags","blobs_url":"https://api.github.com/repos/happycodrz/k8s_conf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/happycodrz/k8s_conf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/happycodrz/k8s_conf/git/refs{/sha}","trees_url":"https://api.github.com/repos/happycodrz/k8s_conf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/happycodrz/k8s_conf/statuses/{sha}","languages_url":"https://api.github.com/repos/happycodrz/k8s_conf/languages","stargazers_url":"https://api.github.com/repos/happycodrz/k8s_conf/stargazers","contributors_url":"https://api.github.com/repos/happycodrz/k8s_conf/contributors","subscribers_url":"https://api.github.com/repos/happycodrz/k8s_conf/subscribers","subscription_url":"https://api.github.com/repos/happycodrz/k8s_conf/subscription","commits_url":"https://api.github.com/repos/happycodrz/k8s_conf/commits{/sha}","git_commits_url":"https://api.github.com/repos/happycodrz/k8s_conf/git/commits{/sha}","comments_url":"https://api.github.com/repos/happycodrz/k8s_conf/comments{/number}","issue_comment_url":"https://api.github.com/repos/happycodrz/k8s_conf/issues/comments{/number}","contents_url":"https://api.github.com/repos/happycodrz/k8s_conf/contents/{+path}","compare_url":"https://api.github.com/repos/happycodrz/k8s_conf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/happycodrz/k8s_conf/merges","archive_url":"https://api.github.com/repos/happycodrz/k8s_conf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/happycodrz/k8s_conf/downloads","issues_url":"https://api.github.com/repos/happycodrz/k8s_conf/issues{/number}","pulls_url":"https://api.github.com/repos/happycodrz/k8s_conf/pulls{/number}","milestones_url":"https://api.github.com/repos/happycodrz/k8s_conf/milestones{/number}","notifications_url":"https://api.github.com/repos/happycodrz/k8s_conf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/happycodrz/k8s_conf/labels{/name}","releases_url":"https://api.github.com/repos/happycodrz/k8s_conf/releases{/id}","deployments_url":"https://api.github.com/repos/happycodrz/k8s_conf/deployments","created_at":"2019-01-04T21:23:16Z","updated_at":"2019-01-04T21:23:18Z","pushed_at":"2019-01-04T22:10:03Z","git_url":"git://github.com/happycodrz/k8s_conf.git","ssh_url":"git@github.com:happycodrz/k8s_conf.git","clone_url":"https://github.com/happycodrz/k8s_conf.git","svn_url":"https://github.com/happycodrz/k8s_conf","homepage":"","size":24,"stargazers_count":0,"watchers_count":0,"language":"Elixir","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"coryodaniel:master","ref":"master","sha":"51f9a2c7e86f9ad46dac361c9ddba21613a2bfd9","user":{"login":"coryodaniel","id":11587,"node_id":"MDQ6VXNlcjExNTg3","avatar_url":"https://avatars1.githubusercontent.com/u/11587?v=4","gravatar_id":"","url":"https://api.github.com/users/coryodaniel","html_url":"https://github.com/coryodaniel","followers_url":"https://api.github.com/users/coryodaniel/followers","following_url":"https://api.github.com/users/coryodaniel/following{/other_user}","gists_url":"https://api.github.com/users/coryodaniel/gists{/gist_id}","starred_url":"https://api.github.com/users/coryodaniel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coryodaniel/subscriptions","organizations_url":"https://api.github.com/users/coryodaniel/orgs","repos_url":"https://api.github.com/users/coryodaniel/repos","events_url":"https://api.github.com/users/coryodaniel/events{/privacy}","received_events_url":"https://api.github.com/users/coryodaniel/received_events","type":"User","site_admin":false},"repo":{"id":162487736,"node_id":"MDEwOlJlcG9zaXRvcnkxNjI0ODc3MzY=","name":"k8s_conf","full_name":"coryodaniel/k8s_conf","private":false,"owner":{"login":"coryodaniel","id":11587,"node_id":"MDQ6VXNlcjExNTg3","avatar_url":"https://avatars1.githubusercontent.com/u/11587?v=4","gravatar_id":"","url":"https://api.github.com/users/coryodaniel","html_url":"https://github.com/coryodaniel","followers_url":"https://api.github.com/users/coryodaniel/followers","following_url":"https://api.github.com/users/coryodaniel/following{/other_user}","gists_url":"https://api.github.com/users/coryodaniel/gists{/gist_id}","starred_url":"https://api.github.com/users/coryodaniel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coryodaniel/subscriptions","organizations_url":"https://api.github.com/users/coryodaniel/orgs","repos_url":"https://api.github.com/users/coryodaniel/repos","events_url":"https://api.github.com/users/coryodaniel/events{/privacy}","received_events_url":"https://api.github.com/users/coryodaniel/received_events","type":"User","site_admin":false},"html_url":"https://github.com/coryodaniel/k8s_conf","description":"Parse Kubernetes' config files and generate HTTP headers/options for authenticating to the k8s API.","fork":false,"url":"https://api.github.com/repos/coryodaniel/k8s_conf","forks_url":"https://api.github.com/repos/coryodaniel/k8s_conf/forks","keys_url":"https://api.github.com/repos/coryodaniel/k8s_conf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coryodaniel/k8s_conf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coryodaniel/k8s_conf/teams","hooks_url":"https://api.github.com/repos/coryodaniel/k8s_conf/hooks","issue_events_url":"https://api.github.com/repos/coryodaniel/k8s_conf/issues/events{/number}","events_url":"https://api.github.com/repos/coryodaniel/k8s_conf/events","assignees_url":"https://api.github.com/repos/coryodaniel/k8s_conf/assignees{/user}","branches_url":"https://api.github.com/repos/coryodaniel/k8s_conf/branches{/branch}","tags_url":"https://api.github.com/repos/coryodaniel/k8s_conf/tags","blobs_url":"https://api.github.com/repos/coryodaniel/k8s_conf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coryodaniel/k8s_conf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coryodaniel/k8s_conf/git/refs{/sha}","trees_url":"https://api.github.com/repos/coryodaniel/k8s_conf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coryodaniel/k8s_conf/statuses/{sha}","languages_url":"https://api.github.com/repos/coryodaniel/k8s_conf/languages","stargazers_url":"https://api.github.com/repos/coryodaniel/k8s_conf/stargazers","contributors_url":"https://api.github.com/repos/coryodaniel/k8s_conf/contributors","subscribers_url":"https://api.github.com/repos/coryodaniel/k8s_conf/subscribers","subscription_url":"https://api.github.com/repos/coryodaniel/k8s_conf/subscription","commits_url":"https://api.github.com/repos/coryodaniel/k8s_conf/commits{/sha}","git_commits_url":"https://api.github.com/repos/coryodaniel/k8s_conf/git/commits{/sha}","comments_url":"https://api.github.com/repos/coryodaniel/k8s_conf/comments{/number}","issue_comment_url":"https://api.github.com/repos/coryodaniel/k8s_conf/issues/comments{/number}","contents_url":"https://api.github.com/repos/coryodaniel/k8s_conf/contents/{+path}","compare_url":"https://api.github.com/repos/coryodaniel/k8s_conf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coryodaniel/k8s_conf/merges","archive_url":"https://api.github.com/repos/coryodaniel/k8s_conf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coryodaniel/k8s_conf/downloads","issues_url":"https://api.github.com/repos/coryodaniel/k8s_conf/issues{/number}","pulls_url":"https://api.github.com/repos/coryodaniel/k8s_conf/pulls{/number}","milestones_url":"https://api.github.com/repos/coryodaniel/k8s_conf/milestones{/number}","notifications_url":"https://api.github.com/repos/coryodaniel/k8s_conf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coryodaniel/k8s_conf/labels{/name}","releases_url":"https://api.github.com/repos/coryodaniel/k8s_conf/releases{/id}","deployments_url":"https://api.github.com/repos/coryodaniel/k8s_conf/deployments","created_at":"2018-12-19T20:33:24Z","updated_at":"2018-12-30T18:05:51Z","pushed_at":"2018-12-30T18:05:50Z","git_url":"git://github.com/coryodaniel/k8s_conf.git","ssh_url":"git@github.com:coryodaniel/k8s_conf.git","clone_url":"https://github.com/coryodaniel/k8s_conf.git","svn_url":"https://github.com/coryodaniel/k8s_conf","homepage":"","size":24,"stargazers_count":1,"watchers_count":1,"language":"Elixir","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coryodaniel/k8s_conf/pulls/4"},"html":{"href":"https://github.com/coryodaniel/k8s_conf/pull/4"},"issue":{"href":"https://api.github.com/repos/coryodaniel/k8s_conf/issues/4"},"comments":{"href":"https://api.github.com/repos/coryodaniel/k8s_conf/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/coryodaniel/k8s_conf/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/coryodaniel/k8s_conf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coryodaniel/k8s_conf/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/coryodaniel/k8s_conf/statuses/b9bb55961045c14f8a55e983c724dfbf353c2cc6"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":32,"deletions":5,"changed_files":3}}
{"actor":{"display_login":"mindreframer"}}