{"action":"created","comment":{"url":"https://api.github.com/repos/coreos/bootkube/pulls/comments/63449422","id":63449422,"diff_hunk":"@@ -1,17 +1,37 @@\n-#!/bin/bash -e\n-\n-source ./config-env\n-\n-echo \"starting...\"\n-../../bin/bootkube start \\\n-\t--ssh-user=core \\\n-\t--ssh-keyfile=${HOME}/.vagrant.d/insecure_private_key \\\n-\t--remote-address=172.17.4.101:22 \\\n-\t--remote-etcd-address=172.17.4.51:2379 \\\n-\t--manifest-dir=cluster/manifests \\\n-\t--apiserver-key=cluster/tls/apiserver.key \\\n-\t--apiserver-cert=cluster/tls/apiserver.crt \\\n-\t--ca-cert=cluster/tls/ca.crt \\\n-\t--service-account-key=cluster/tls/service-account.key \\\n-\t--token-auth-file=cluster/auth/token-auth.csv\n+#!/bin/bash\n+set -euo pipefail\n \n+un=\"$(uname)\"\n+local_os=\"linux\"\n+if [ ${un} == 'Darwin' ]; then\n+    local_os=\"darwin\"\n+fi\n+\n+# Render assets\n+if [ ! -d \"cluster\" ]; then\n+  ../../bin/${local_os}/bootkube render --outdir=cluster --api-servers=https://172.17.4.101 --etcd-servers=http://172.17.4.51:2379","path":"hack/multi-node/bootkube-up","position":28,"original_position":28,"commit_id":"b5c1b3ddf9758899aff0dfe2fcbb68c3bbe4b6bf","original_commit_id":"b5c1b3ddf9758899aff0dfe2fcbb68c3bbe4b6bf","user":{"login":"dghubble","id":2253428,"avatar_url":"https://avatars.githubusercontent.com/u/2253428?v=3","gravatar_id":"","url":"https://api.github.com/users/dghubble","html_url":"https://github.com/dghubble","followers_url":"https://api.github.com/users/dghubble/followers","following_url":"https://api.github.com/users/dghubble/following{/other_user}","gists_url":"https://api.github.com/users/dghubble/gists{/gist_id}","starred_url":"https://api.github.com/users/dghubble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dghubble/subscriptions","organizations_url":"https://api.github.com/users/dghubble/orgs","repos_url":"https://api.github.com/users/dghubble/repos","events_url":"https://api.github.com/users/dghubble/events{/privacy}","received_events_url":"https://api.github.com/users/dghubble/received_events","type":"User","site_admin":false},"body":"--api-servers=https://172.17.4.101:443?","created_at":"2016-05-17T00:33:15Z","updated_at":"2016-05-17T00:33:15Z","html_url":"https://github.com/coreos/bootkube/pull/36#discussion_r63449422","pull_request_url":"https://api.github.com/repos/coreos/bootkube/pulls/36","_links":{"self":{"href":"https://api.github.com/repos/coreos/bootkube/pulls/comments/63449422"},"html":{"href":"https://github.com/coreos/bootkube/pull/36#discussion_r63449422"},"pull_request":{"href":"https://api.github.com/repos/coreos/bootkube/pulls/36"}}},"pull_request":{"url":"https://api.github.com/repos/coreos/bootkube/pulls/36","id":70259992,"html_url":"https://github.com/coreos/bootkube/pull/36","diff_url":"https://github.com/coreos/bootkube/pull/36.diff","patch_url":"https://github.com/coreos/bootkube/pull/36.patch","issue_url":"https://api.github.com/repos/coreos/bootkube/issues/36","number":36,"state":"open","locked":false,"title":"*: Refactor to run bootkube directly on-host","user":{"login":"aaronlevy","id":374924,"avatar_url":"https://avatars.githubusercontent.com/u/374924?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronlevy","html_url":"https://github.com/aaronlevy","followers_url":"https://api.github.com/users/aaronlevy/followers","following_url":"https://api.github.com/users/aaronlevy/following{/other_user}","gists_url":"https://api.github.com/users/aaronlevy/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronlevy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronlevy/subscriptions","organizations_url":"https://api.github.com/users/aaronlevy/orgs","repos_url":"https://api.github.com/users/aaronlevy/repos","events_url":"https://api.github.com/users/aaronlevy/events{/privacy}","received_events_url":"https://api.github.com/users/aaronlevy/received_events","type":"User","site_admin":false},"body":"- Changes controller-manager & scheduler to be Deployments without\r\n  host-networking.\r\n- Simplify flags needed for render/start steps\r\n- Updates /hack dir installations to use new on-host method.\r\n\r\n/cc @derekparker @dghubble ","created_at":"2016-05-16T20:56:24Z","updated_at":"2016-05-17T00:33:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"75c7ab3795a2c97552c9f224bc84e6f7278e02fb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/coreos/bootkube/pulls/36/commits","review_comments_url":"https://api.github.com/repos/coreos/bootkube/pulls/36/comments","review_comment_url":"https://api.github.com/repos/coreos/bootkube/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coreos/bootkube/issues/36/comments","statuses_url":"https://api.github.com/repos/coreos/bootkube/statuses/b5c1b3ddf9758899aff0dfe2fcbb68c3bbe4b6bf","head":{"label":"aaronlevy:on-host-refactor","ref":"on-host-refactor","sha":"b5c1b3ddf9758899aff0dfe2fcbb68c3bbe4b6bf","user":{"login":"aaronlevy","id":374924,"avatar_url":"https://avatars.githubusercontent.com/u/374924?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronlevy","html_url":"https://github.com/aaronlevy","followers_url":"https://api.github.com/users/aaronlevy/followers","following_url":"https://api.github.com/users/aaronlevy/following{/other_user}","gists_url":"https://api.github.com/users/aaronlevy/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronlevy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronlevy/subscriptions","organizations_url":"https://api.github.com/users/aaronlevy/orgs","repos_url":"https://api.github.com/users/aaronlevy/repos","events_url":"https://api.github.com/users/aaronlevy/events{/privacy}","received_events_url":"https://api.github.com/users/aaronlevy/received_events","type":"User","site_admin":false},"repo":{"id":53981790,"name":"bootkube","full_name":"aaronlevy/bootkube","owner":{"login":"aaronlevy","id":374924,"avatar_url":"https://avatars.githubusercontent.com/u/374924?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronlevy","html_url":"https://github.com/aaronlevy","followers_url":"https://api.github.com/users/aaronlevy/followers","following_url":"https://api.github.com/users/aaronlevy/following{/other_user}","gists_url":"https://api.github.com/users/aaronlevy/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronlevy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronlevy/subscriptions","organizations_url":"https://api.github.com/users/aaronlevy/orgs","repos_url":"https://api.github.com/users/aaronlevy/repos","events_url":"https://api.github.com/users/aaronlevy/events{/privacy}","received_events_url":"https://api.github.com/users/aaronlevy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aaronlevy/bootkube","description":"Bootkube","fork":true,"url":"https://api.github.com/repos/aaronlevy/bootkube","forks_url":"https://api.github.com/repos/aaronlevy/bootkube/forks","keys_url":"https://api.github.com/repos/aaronlevy/bootkube/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aaronlevy/bootkube/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aaronlevy/bootkube/teams","hooks_url":"https://api.github.com/repos/aaronlevy/bootkube/hooks","issue_events_url":"https://api.github.com/repos/aaronlevy/bootkube/issues/events{/number}","events_url":"https://api.github.com/repos/aaronlevy/bootkube/events","assignees_url":"https://api.github.com/repos/aaronlevy/bootkube/assignees{/user}","branches_url":"https://api.github.com/repos/aaronlevy/bootkube/branches{/branch}","tags_url":"https://api.github.com/repos/aaronlevy/bootkube/tags","blobs_url":"https://api.github.com/repos/aaronlevy/bootkube/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aaronlevy/bootkube/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aaronlevy/bootkube/git/refs{/sha}","trees_url":"https://api.github.com/repos/aaronlevy/bootkube/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aaronlevy/bootkube/statuses/{sha}","languages_url":"https://api.github.com/repos/aaronlevy/bootkube/languages","stargazers_url":"https://api.github.com/repos/aaronlevy/bootkube/stargazers","contributors_url":"https://api.github.com/repos/aaronlevy/bootkube/contributors","subscribers_url":"https://api.github.com/repos/aaronlevy/bootkube/subscribers","subscription_url":"https://api.github.com/repos/aaronlevy/bootkube/subscription","commits_url":"https://api.github.com/repos/aaronlevy/bootkube/commits{/sha}","git_commits_url":"https://api.github.com/repos/aaronlevy/bootkube/git/commits{/sha}","comments_url":"https://api.github.com/repos/aaronlevy/bootkube/comments{/number}","issue_comment_url":"https://api.github.com/repos/aaronlevy/bootkube/issues/comments{/number}","contents_url":"https://api.github.com/repos/aaronlevy/bootkube/contents/{+path}","compare_url":"https://api.github.com/repos/aaronlevy/bootkube/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aaronlevy/bootkube/merges","archive_url":"https://api.github.com/repos/aaronlevy/bootkube/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aaronlevy/bootkube/downloads","issues_url":"https://api.github.com/repos/aaronlevy/bootkube/issues{/number}","pulls_url":"https://api.github.com/repos/aaronlevy/bootkube/pulls{/number}","milestones_url":"https://api.github.com/repos/aaronlevy/bootkube/milestones{/number}","notifications_url":"https://api.github.com/repos/aaronlevy/bootkube/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aaronlevy/bootkube/labels{/name}","releases_url":"https://api.github.com/repos/aaronlevy/bootkube/releases{/id}","deployments_url":"https://api.github.com/repos/aaronlevy/bootkube/deployments","created_at":"2016-03-15T22:06:34Z","updated_at":"2016-03-15T21:58:22Z","pushed_at":"2016-05-16T20:56:06Z","git_url":"git://github.com/aaronlevy/bootkube.git","ssh_url":"git@github.com:aaronlevy/bootkube.git","clone_url":"https://github.com/aaronlevy/bootkube.git","svn_url":"https://github.com/aaronlevy/bootkube","homepage":null,"size":27357,"stargazers_count":0,"watchers_count":0,"language":null,"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":"coreos:master","ref":"master","sha":"f5235e9fb892f2de3283af198a6ab1e9c2470360","user":{"login":"coreos","id":3730757,"avatar_url":"https://avatars.githubusercontent.com/u/3730757?v=3","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"repo":{"id":53981347,"name":"bootkube","full_name":"coreos/bootkube","owner":{"login":"coreos","id":3730757,"avatar_url":"https://avatars.githubusercontent.com/u/3730757?v=3","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coreos/bootkube","description":"bootkube - an entire kubernetes control plane in a single binary","fork":false,"url":"https://api.github.com/repos/coreos/bootkube","forks_url":"https://api.github.com/repos/coreos/bootkube/forks","keys_url":"https://api.github.com/repos/coreos/bootkube/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coreos/bootkube/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coreos/bootkube/teams","hooks_url":"https://api.github.com/repos/coreos/bootkube/hooks","issue_events_url":"https://api.github.com/repos/coreos/bootkube/issues/events{/number}","events_url":"https://api.github.com/repos/coreos/bootkube/events","assignees_url":"https://api.github.com/repos/coreos/bootkube/assignees{/user}","branches_url":"https://api.github.com/repos/coreos/bootkube/branches{/branch}","tags_url":"https://api.github.com/repos/coreos/bootkube/tags","blobs_url":"https://api.github.com/repos/coreos/bootkube/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coreos/bootkube/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coreos/bootkube/git/refs{/sha}","trees_url":"https://api.github.com/repos/coreos/bootkube/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coreos/bootkube/statuses/{sha}","languages_url":"https://api.github.com/repos/coreos/bootkube/languages","stargazers_url":"https://api.github.com/repos/coreos/bootkube/stargazers","contributors_url":"https://api.github.com/repos/coreos/bootkube/contributors","subscribers_url":"https://api.github.com/repos/coreos/bootkube/subscribers","subscription_url":"https://api.github.com/repos/coreos/bootkube/subscription","commits_url":"https://api.github.com/repos/coreos/bootkube/commits{/sha}","git_commits_url":"https://api.github.com/repos/coreos/bootkube/git/commits{/sha}","comments_url":"https://api.github.com/repos/coreos/bootkube/comments{/number}","issue_comment_url":"https://api.github.com/repos/coreos/bootkube/issues/comments{/number}","contents_url":"https://api.github.com/repos/coreos/bootkube/contents/{+path}","compare_url":"https://api.github.com/repos/coreos/bootkube/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coreos/bootkube/merges","archive_url":"https://api.github.com/repos/coreos/bootkube/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coreos/bootkube/downloads","issues_url":"https://api.github.com/repos/coreos/bootkube/issues{/number}","pulls_url":"https://api.github.com/repos/coreos/bootkube/pulls{/number}","milestones_url":"https://api.github.com/repos/coreos/bootkube/milestones{/number}","notifications_url":"https://api.github.com/repos/coreos/bootkube/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coreos/bootkube/labels{/name}","releases_url":"https://api.github.com/repos/coreos/bootkube/releases{/id}","deployments_url":"https://api.github.com/repos/coreos/bootkube/deployments","created_at":"2016-03-15T21:58:22Z","updated_at":"2016-05-09T13:40:10Z","pushed_at":"2016-05-16T20:56:25Z","git_url":"git://github.com/coreos/bootkube.git","ssh_url":"git@github.com:coreos/bootkube.git","clone_url":"https://github.com/coreos/bootkube.git","svn_url":"https://github.com/coreos/bootkube","homepage":"","size":27352,"stargazers_count":20,"watchers_count":20,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":10,"forks":4,"open_issues":10,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coreos/bootkube/pulls/36"},"html":{"href":"https://github.com/coreos/bootkube/pull/36"},"issue":{"href":"https://api.github.com/repos/coreos/bootkube/issues/36"},"comments":{"href":"https://api.github.com/repos/coreos/bootkube/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/coreos/bootkube/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/coreos/bootkube/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coreos/bootkube/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/coreos/bootkube/statuses/b5c1b3ddf9758899aff0dfe2fcbb68c3bbe4b6bf"}}}}