{"action":"closed","number":9,"pull_request":{"url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/pulls/9","id":88389486,"html_url":"https://github.com/hermanjunge/kubernetes-digitalocean-terraform/pull/9","diff_url":"https://github.com/hermanjunge/kubernetes-digitalocean-terraform/pull/9.diff","patch_url":"https://github.com/hermanjunge/kubernetes-digitalocean-terraform/pull/9.patch","issue_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/issues/9","number":9,"state":"closed","locked":false,"title":"Upgrades Kubernetes to 1.3.6, overhaul cert generation with cfssl, and secures etcd2","user":{"login":"5tefan","id":5855806,"avatar_url":"https://avatars.githubusercontent.com/u/5855806?v=3","gravatar_id":"","url":"https://api.github.com/users/5tefan","html_url":"https://github.com/5tefan","followers_url":"https://api.github.com/users/5tefan/followers","following_url":"https://api.github.com/users/5tefan/following{/other_user}","gists_url":"https://api.github.com/users/5tefan/gists{/gist_id}","starred_url":"https://api.github.com/users/5tefan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/5tefan/subscriptions","organizations_url":"https://api.github.com/users/5tefan/orgs","repos_url":"https://api.github.com/users/5tefan/repos","events_url":"https://api.github.com/users/5tefan/events{/privacy}","received_events_url":"https://api.github.com/users/5tefan/received_events","type":"User","site_admin":false},"body":"Solves #2 - secures etcd2.\r\n\r\nIncludes PR #8 - uses Terraform 0.7 syntax.\r\n\r\n## Overview\r\n\r\nInstall configurations taken from CoreOS series on setting up \r\na Kubernetes cluster [1], which uses Kubernetes 1.3.6.\r\nThe necessary components (apiserver and flanneld) have \r\nbeen configured for TLS and cert authentication with the\r\netcd2 host. \r\n\r\nI've removed the `coreos` block from the cloud-config\r\ntemplates for master and worker. Now only using\r\nthe write_files provisioner. Starting the services is\r\nhandled by the Terraform `remote_exec` provisioner.\r\n\r\nI've refactored the certificate generation using cfssl. \r\nThe method is documented in more detail at [2].\r\n\r\nSee [3], as of Kubernetes 1.3, DNS is a built-in service\r\nlaunched automatically using the addon manager cluster\r\nadd-on, configured with env variables, hence writing \r\n`/etc/profile.env` and the removal of `03-dns-addon.yaml`.\r\n\r\n[1] https://coreos.com/kubernetes/docs/latest/getting-started.html\r\n[2] https://coreos.com/os/docs/latest/generate-self-signed-certificates.html\r\n[3] http://kubernetes.io/docs/admin/dns/\r\n","created_at":"2016-10-07T07:01:40Z","updated_at":"2016-10-08T18:58:08Z","closed_at":"2016-10-08T18:58:08Z","merged_at":"2016-10-08T18:58:08Z","merge_commit_sha":"d13bb0f5c58f1cb658f6ae39e9db31ffdb528163","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/pulls/9/commits","review_comments_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/pulls/9/comments","review_comment_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/issues/9/comments","statuses_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/statuses/d13bb0f5c58f1cb658f6ae39e9db31ffdb528163","head":{"label":"5tefan:secure-etcd","ref":"secure-etcd","sha":"d13bb0f5c58f1cb658f6ae39e9db31ffdb528163","user":{"login":"5tefan","id":5855806,"avatar_url":"https://avatars.githubusercontent.com/u/5855806?v=3","gravatar_id":"","url":"https://api.github.com/users/5tefan","html_url":"https://github.com/5tefan","followers_url":"https://api.github.com/users/5tefan/followers","following_url":"https://api.github.com/users/5tefan/following{/other_user}","gists_url":"https://api.github.com/users/5tefan/gists{/gist_id}","starred_url":"https://api.github.com/users/5tefan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/5tefan/subscriptions","organizations_url":"https://api.github.com/users/5tefan/orgs","repos_url":"https://api.github.com/users/5tefan/repos","events_url":"https://api.github.com/users/5tefan/events{/privacy}","received_events_url":"https://api.github.com/users/5tefan/received_events","type":"User","site_admin":false},"repo":{"id":69828475,"name":"kubernetes-digitalocean-terraform","full_name":"5tefan/kubernetes-digitalocean-terraform","owner":{"login":"5tefan","id":5855806,"avatar_url":"https://avatars.githubusercontent.com/u/5855806?v=3","gravatar_id":"","url":"https://api.github.com/users/5tefan","html_url":"https://github.com/5tefan","followers_url":"https://api.github.com/users/5tefan/followers","following_url":"https://api.github.com/users/5tefan/following{/other_user}","gists_url":"https://api.github.com/users/5tefan/gists{/gist_id}","starred_url":"https://api.github.com/users/5tefan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/5tefan/subscriptions","organizations_url":"https://api.github.com/users/5tefan/orgs","repos_url":"https://api.github.com/users/5tefan/repos","events_url":"https://api.github.com/users/5tefan/events{/privacy}","received_events_url":"https://api.github.com/users/5tefan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/5tefan/kubernetes-digitalocean-terraform","description":":clipboard: :ocean: :earth_americas: Setup a simple kubernetes cluster in Digital Ocean using terraform","fork":true,"url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform","forks_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/forks","keys_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/teams","hooks_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/hooks","issue_events_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/issues/events{/number}","events_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/events","assignees_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/assignees{/user}","branches_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/branches{/branch}","tags_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/tags","blobs_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/git/refs{/sha}","trees_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/statuses/{sha}","languages_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/languages","stargazers_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/stargazers","contributors_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/contributors","subscribers_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/subscribers","subscription_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/subscription","commits_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/commits{/sha}","git_commits_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/git/commits{/sha}","comments_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/comments{/number}","issue_comment_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/issues/comments{/number}","contents_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/contents/{+path}","compare_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/merges","archive_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/downloads","issues_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/issues{/number}","pulls_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/pulls{/number}","milestones_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/milestones{/number}","notifications_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/labels{/name}","releases_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/releases{/id}","deployments_url":"https://api.github.com/repos/5tefan/kubernetes-digitalocean-terraform/deployments","created_at":"2016-10-02T23:38:48Z","updated_at":"2016-10-02T23:38:48Z","pushed_at":"2016-10-07T07:08:42Z","git_url":"git://github.com/5tefan/kubernetes-digitalocean-terraform.git","ssh_url":"git@github.com:5tefan/kubernetes-digitalocean-terraform.git","clone_url":"https://github.com/5tefan/kubernetes-digitalocean-terraform.git","svn_url":"https://github.com/5tefan/kubernetes-digitalocean-terraform","homepage":"","size":43,"stargazers_count":0,"watchers_count":0,"language":"HCL","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hermanjunge:master","ref":"master","sha":"528a8086d7ff00b24d66747e98adfe98a9c6c082","user":{"login":"hermanjunge","id":729830,"avatar_url":"https://avatars.githubusercontent.com/u/729830?v=3","gravatar_id":"","url":"https://api.github.com/users/hermanjunge","html_url":"https://github.com/hermanjunge","followers_url":"https://api.github.com/users/hermanjunge/followers","following_url":"https://api.github.com/users/hermanjunge/following{/other_user}","gists_url":"https://api.github.com/users/hermanjunge/gists{/gist_id}","starred_url":"https://api.github.com/users/hermanjunge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hermanjunge/subscriptions","organizations_url":"https://api.github.com/users/hermanjunge/orgs","repos_url":"https://api.github.com/users/hermanjunge/repos","events_url":"https://api.github.com/users/hermanjunge/events{/privacy}","received_events_url":"https://api.github.com/users/hermanjunge/received_events","type":"User","site_admin":false},"repo":{"id":47937678,"name":"kubernetes-digitalocean-terraform","full_name":"hermanjunge/kubernetes-digitalocean-terraform","owner":{"login":"hermanjunge","id":729830,"avatar_url":"https://avatars.githubusercontent.com/u/729830?v=3","gravatar_id":"","url":"https://api.github.com/users/hermanjunge","html_url":"https://github.com/hermanjunge","followers_url":"https://api.github.com/users/hermanjunge/followers","following_url":"https://api.github.com/users/hermanjunge/following{/other_user}","gists_url":"https://api.github.com/users/hermanjunge/gists{/gist_id}","starred_url":"https://api.github.com/users/hermanjunge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hermanjunge/subscriptions","organizations_url":"https://api.github.com/users/hermanjunge/orgs","repos_url":"https://api.github.com/users/hermanjunge/repos","events_url":"https://api.github.com/users/hermanjunge/events{/privacy}","received_events_url":"https://api.github.com/users/hermanjunge/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hermanjunge/kubernetes-digitalocean-terraform","description":":clipboard: :ocean: :earth_americas: Setup a simple kubernetes cluster in Digital Ocean using terraform","fork":false,"url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform","forks_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/forks","keys_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/teams","hooks_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/hooks","issue_events_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/issues/events{/number}","events_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/events","assignees_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/assignees{/user}","branches_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/branches{/branch}","tags_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/tags","blobs_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/git/refs{/sha}","trees_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/statuses/{sha}","languages_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/languages","stargazers_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/stargazers","contributors_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/contributors","subscribers_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/subscribers","subscription_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/subscription","commits_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/commits{/sha}","git_commits_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/git/commits{/sha}","comments_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/comments{/number}","issue_comment_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/issues/comments{/number}","contents_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/contents/{+path}","compare_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/merges","archive_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/downloads","issues_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/issues{/number}","pulls_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/pulls{/number}","milestones_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/milestones{/number}","notifications_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/labels{/name}","releases_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/releases{/id}","deployments_url":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/deployments","created_at":"2015-12-13T21:45:19Z","updated_at":"2016-10-02T23:39:14Z","pushed_at":"2016-10-08T18:58:08Z","git_url":"git://github.com/hermanjunge/kubernetes-digitalocean-terraform.git","ssh_url":"git@github.com:hermanjunge/kubernetes-digitalocean-terraform.git","clone_url":"https://github.com/hermanjunge/kubernetes-digitalocean-terraform.git","svn_url":"https://github.com/hermanjunge/kubernetes-digitalocean-terraform","homepage":"","size":35,"stargazers_count":45,"watchers_count":45,"language":"HCL","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":1,"forks":12,"open_issues":1,"watchers":45,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/pulls/9"},"html":{"href":"https://github.com/hermanjunge/kubernetes-digitalocean-terraform/pull/9"},"issue":{"href":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/issues/9"},"comments":{"href":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/hermanjunge/kubernetes-digitalocean-terraform/statuses/d13bb0f5c58f1cb658f6ae39e9db31ffdb528163"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"hermanjunge","id":729830,"avatar_url":"https://avatars.githubusercontent.com/u/729830?v=3","gravatar_id":"","url":"https://api.github.com/users/hermanjunge","html_url":"https://github.com/hermanjunge","followers_url":"https://api.github.com/users/hermanjunge/followers","following_url":"https://api.github.com/users/hermanjunge/following{/other_user}","gists_url":"https://api.github.com/users/hermanjunge/gists{/gist_id}","starred_url":"https://api.github.com/users/hermanjunge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hermanjunge/subscriptions","organizations_url":"https://api.github.com/users/hermanjunge/orgs","repos_url":"https://api.github.com/users/hermanjunge/repos","events_url":"https://api.github.com/users/hermanjunge/events{/privacy}","received_events_url":"https://api.github.com/users/hermanjunge/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":6,"additions":570,"deletions":749,"changed_files":19}}
{"actor":{"display_login":"hermanjunge"}}