{"action":"created","comment":{"url":"https://api.github.com/repos/k8sp/auto-install/pulls/comments/73993589","id":73993589,"diff_hunk":"@@ -0,0 +1,15 @@\n+[req]\n+req_extensions = v3_req\n+distinguished_name = req_distinguished_name\n+[req_distinguished_name]\n+[ v3_req ]\n+basicConstraints = CA:FALSE\n+keyUsage = nonRepudiation, digitalSignature, keyEncipherment\n+subjectAltName = @alt_names\n+[alt_names]\n+DNS.1 = kubernetes\n+DNS.2 = kubernetes.default\n+DNS.3 = kubernetes.default.svc\n+DNS.4 = kubernetes.default.svc.cluster.local\n+IP.1 = 10.100.0.1","path":"cloud-config-server/tls/etc/openssl.cnf","position":14,"original_position":14,"commit_id":"0ef6af976832c4b2ce6e6172215512a1677bb067","original_commit_id":"0ef6af976832c4b2ce6e6172215512a1677bb067","user":{"login":"Yancey1989","id":1426912,"avatar_url":"https://avatars.githubusercontent.com/u/1426912?v=3","gravatar_id":"","url":"https://api.github.com/users/Yancey1989","html_url":"https://github.com/Yancey1989","followers_url":"https://api.github.com/users/Yancey1989/followers","following_url":"https://api.github.com/users/Yancey1989/following{/other_user}","gists_url":"https://api.github.com/users/Yancey1989/gists{/gist_id}","starred_url":"https://api.github.com/users/Yancey1989/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yancey1989/subscriptions","organizations_url":"https://api.github.com/users/Yancey1989/orgs","repos_url":"https://api.github.com/users/Yancey1989/repos","events_url":"https://api.github.com/users/Yancey1989/events{/privacy}","received_events_url":"https://api.github.com/users/Yancey1989/received_events","type":"User","site_admin":false},"body":"这是Kubernetes Service的ClusterIP，Pod访问apiserver需要通过这个IP来访问，和集群无关。","created_at":"2016-08-09T03:33:50Z","updated_at":"2016-08-09T03:33:50Z","html_url":"https://github.com/k8sp/auto-install/pull/71#discussion_r73993589","pull_request_url":"https://api.github.com/repos/k8sp/auto-install/pulls/71","_links":{"self":{"href":"https://api.github.com/repos/k8sp/auto-install/pulls/comments/73993589"},"html":{"href":"https://github.com/k8sp/auto-install/pull/71#discussion_r73993589"},"pull_request":{"href":"https://api.github.com/repos/k8sp/auto-install/pulls/71"}}},"pull_request":{"url":"https://api.github.com/repos/k8sp/auto-install/pulls/71","id":79614870,"html_url":"https://github.com/k8sp/auto-install/pull/71","diff_url":"https://github.com/k8sp/auto-install/pull/71.diff","patch_url":"https://github.com/k8sp/auto-install/pull/71.patch","issue_url":"https://api.github.com/repos/k8sp/auto-install/issues/71","number":71,"state":"open","locked":false,"title":"Auto generate cert","user":{"login":"Yancey1989","id":1426912,"avatar_url":"https://avatars.githubusercontent.com/u/1426912?v=3","gravatar_id":"","url":"https://api.github.com/users/Yancey1989","html_url":"https://github.com/Yancey1989","followers_url":"https://api.github.com/users/Yancey1989/followers","following_url":"https://api.github.com/users/Yancey1989/following{/other_user}","gists_url":"https://api.github.com/users/Yancey1989/gists{/gist_id}","starred_url":"https://api.github.com/users/Yancey1989/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yancey1989/subscriptions","organizations_url":"https://api.github.com/users/Yancey1989/orgs","repos_url":"https://api.github.com/users/Yancey1989/repos","events_url":"https://api.github.com/users/Yancey1989/events{/privacy}","received_events_url":"https://api.github.com/users/Yancey1989/received_events","type":"User","site_admin":false},"body":"Fixes https://github.com/k8sp/auto-install/issues/53\r\n\r\nDone：\r\n根据config_build.yaml配置的IP以及KuberMaster字段,自动生成master,worker节点需要的证书\r\n\r\nTodo:\r\nconfig_bulid.yaml中没有配置IP的机器，需要先以某种方式得到到服务器IP后才能生成相关证书，目前可想到的两种方法：\r\n* 写DHCP客户端，从DHCP中获取到IP后将地址写入CC\r\n* 由CCServer按一定规则进行IP分配，这需要CCServer拥有一套IP分配的机制","created_at":"2016-08-01T18:38:45Z","updated_at":"2016-08-09T03:33:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"de1371f6e401fbb1e80d7e6e4a523aa6187c363d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/k8sp/auto-install/pulls/71/commits","review_comments_url":"https://api.github.com/repos/k8sp/auto-install/pulls/71/comments","review_comment_url":"https://api.github.com/repos/k8sp/auto-install/pulls/comments{/number}","comments_url":"https://api.github.com/repos/k8sp/auto-install/issues/71/comments","statuses_url":"https://api.github.com/repos/k8sp/auto-install/statuses/0ef6af976832c4b2ce6e6172215512a1677bb067","head":{"label":"k8sp:auto_generate_cert_yx","ref":"auto_generate_cert_yx","sha":"0ef6af976832c4b2ce6e6172215512a1677bb067","user":{"login":"k8sp","id":19252557,"avatar_url":"https://avatars.githubusercontent.com/u/19252557?v=3","gravatar_id":"","url":"https://api.github.com/users/k8sp","html_url":"https://github.com/k8sp","followers_url":"https://api.github.com/users/k8sp/followers","following_url":"https://api.github.com/users/k8sp/following{/other_user}","gists_url":"https://api.github.com/users/k8sp/gists{/gist_id}","starred_url":"https://api.github.com/users/k8sp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k8sp/subscriptions","organizations_url":"https://api.github.com/users/k8sp/orgs","repos_url":"https://api.github.com/users/k8sp/repos","events_url":"https://api.github.com/users/k8sp/events{/privacy}","received_events_url":"https://api.github.com/users/k8sp/received_events","type":"Organization","site_admin":false},"repo":{"id":63209168,"name":"auto-install","full_name":"k8sp/auto-install","owner":{"login":"k8sp","id":19252557,"avatar_url":"https://avatars.githubusercontent.com/u/19252557?v=3","gravatar_id":"","url":"https://api.github.com/users/k8sp","html_url":"https://github.com/k8sp","followers_url":"https://api.github.com/users/k8sp/followers","following_url":"https://api.github.com/users/k8sp/following{/other_user}","gists_url":"https://api.github.com/users/k8sp/gists{/gist_id}","starred_url":"https://api.github.com/users/k8sp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k8sp/subscriptions","organizations_url":"https://api.github.com/users/k8sp/orgs","repos_url":"https://api.github.com/users/k8sp/repos","events_url":"https://api.github.com/users/k8sp/events{/privacy}","received_events_url":"https://api.github.com/users/k8sp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/k8sp/auto-install","description":null,"fork":false,"url":"https://api.github.com/repos/k8sp/auto-install","forks_url":"https://api.github.com/repos/k8sp/auto-install/forks","keys_url":"https://api.github.com/repos/k8sp/auto-install/keys{/key_id}","collaborators_url":"https://api.github.com/repos/k8sp/auto-install/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/k8sp/auto-install/teams","hooks_url":"https://api.github.com/repos/k8sp/auto-install/hooks","issue_events_url":"https://api.github.com/repos/k8sp/auto-install/issues/events{/number}","events_url":"https://api.github.com/repos/k8sp/auto-install/events","assignees_url":"https://api.github.com/repos/k8sp/auto-install/assignees{/user}","branches_url":"https://api.github.com/repos/k8sp/auto-install/branches{/branch}","tags_url":"https://api.github.com/repos/k8sp/auto-install/tags","blobs_url":"https://api.github.com/repos/k8sp/auto-install/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/k8sp/auto-install/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/k8sp/auto-install/git/refs{/sha}","trees_url":"https://api.github.com/repos/k8sp/auto-install/git/trees{/sha}","statuses_url":"https://api.github.com/repos/k8sp/auto-install/statuses/{sha}","languages_url":"https://api.github.com/repos/k8sp/auto-install/languages","stargazers_url":"https://api.github.com/repos/k8sp/auto-install/stargazers","contributors_url":"https://api.github.com/repos/k8sp/auto-install/contributors","subscribers_url":"https://api.github.com/repos/k8sp/auto-install/subscribers","subscription_url":"https://api.github.com/repos/k8sp/auto-install/subscription","commits_url":"https://api.github.com/repos/k8sp/auto-install/commits{/sha}","git_commits_url":"https://api.github.com/repos/k8sp/auto-install/git/commits{/sha}","comments_url":"https://api.github.com/repos/k8sp/auto-install/comments{/number}","issue_comment_url":"https://api.github.com/repos/k8sp/auto-install/issues/comments{/number}","contents_url":"https://api.github.com/repos/k8sp/auto-install/contents/{+path}","compare_url":"https://api.github.com/repos/k8sp/auto-install/compare/{base}...{head}","merges_url":"https://api.github.com/repos/k8sp/auto-install/merges","archive_url":"https://api.github.com/repos/k8sp/auto-install/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/k8sp/auto-install/downloads","issues_url":"https://api.github.com/repos/k8sp/auto-install/issues{/number}","pulls_url":"https://api.github.com/repos/k8sp/auto-install/pulls{/number}","milestones_url":"https://api.github.com/repos/k8sp/auto-install/milestones{/number}","notifications_url":"https://api.github.com/repos/k8sp/auto-install/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/k8sp/auto-install/labels{/name}","releases_url":"https://api.github.com/repos/k8sp/auto-install/releases{/id}","deployments_url":"https://api.github.com/repos/k8sp/auto-install/deployments","created_at":"2016-07-13T02:54:51Z","updated_at":"2016-07-27T06:17:49Z","pushed_at":"2016-08-08T18:05:20Z","git_url":"git://github.com/k8sp/auto-install.git","ssh_url":"git@github.com:k8sp/auto-install.git","clone_url":"https://github.com/k8sp/auto-install.git","svn_url":"https://github.com/k8sp/auto-install","homepage":null,"size":15491,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":26,"forks":1,"open_issues":26,"watchers":0,"default_branch":"master"}},"base":{"label":"k8sp:auto_generate_cert","ref":"auto_generate_cert","sha":"481f16b71d81e87bd55bb97fa288e57777a4d5c9","user":{"login":"k8sp","id":19252557,"avatar_url":"https://avatars.githubusercontent.com/u/19252557?v=3","gravatar_id":"","url":"https://api.github.com/users/k8sp","html_url":"https://github.com/k8sp","followers_url":"https://api.github.com/users/k8sp/followers","following_url":"https://api.github.com/users/k8sp/following{/other_user}","gists_url":"https://api.github.com/users/k8sp/gists{/gist_id}","starred_url":"https://api.github.com/users/k8sp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k8sp/subscriptions","organizations_url":"https://api.github.com/users/k8sp/orgs","repos_url":"https://api.github.com/users/k8sp/repos","events_url":"https://api.github.com/users/k8sp/events{/privacy}","received_events_url":"https://api.github.com/users/k8sp/received_events","type":"Organization","site_admin":false},"repo":{"id":63209168,"name":"auto-install","full_name":"k8sp/auto-install","owner":{"login":"k8sp","id":19252557,"avatar_url":"https://avatars.githubusercontent.com/u/19252557?v=3","gravatar_id":"","url":"https://api.github.com/users/k8sp","html_url":"https://github.com/k8sp","followers_url":"https://api.github.com/users/k8sp/followers","following_url":"https://api.github.com/users/k8sp/following{/other_user}","gists_url":"https://api.github.com/users/k8sp/gists{/gist_id}","starred_url":"https://api.github.com/users/k8sp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k8sp/subscriptions","organizations_url":"https://api.github.com/users/k8sp/orgs","repos_url":"https://api.github.com/users/k8sp/repos","events_url":"https://api.github.com/users/k8sp/events{/privacy}","received_events_url":"https://api.github.com/users/k8sp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/k8sp/auto-install","description":null,"fork":false,"url":"https://api.github.com/repos/k8sp/auto-install","forks_url":"https://api.github.com/repos/k8sp/auto-install/forks","keys_url":"https://api.github.com/repos/k8sp/auto-install/keys{/key_id}","collaborators_url":"https://api.github.com/repos/k8sp/auto-install/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/k8sp/auto-install/teams","hooks_url":"https://api.github.com/repos/k8sp/auto-install/hooks","issue_events_url":"https://api.github.com/repos/k8sp/auto-install/issues/events{/number}","events_url":"https://api.github.com/repos/k8sp/auto-install/events","assignees_url":"https://api.github.com/repos/k8sp/auto-install/assignees{/user}","branches_url":"https://api.github.com/repos/k8sp/auto-install/branches{/branch}","tags_url":"https://api.github.com/repos/k8sp/auto-install/tags","blobs_url":"https://api.github.com/repos/k8sp/auto-install/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/k8sp/auto-install/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/k8sp/auto-install/git/refs{/sha}","trees_url":"https://api.github.com/repos/k8sp/auto-install/git/trees{/sha}","statuses_url":"https://api.github.com/repos/k8sp/auto-install/statuses/{sha}","languages_url":"https://api.github.com/repos/k8sp/auto-install/languages","stargazers_url":"https://api.github.com/repos/k8sp/auto-install/stargazers","contributors_url":"https://api.github.com/repos/k8sp/auto-install/contributors","subscribers_url":"https://api.github.com/repos/k8sp/auto-install/subscribers","subscription_url":"https://api.github.com/repos/k8sp/auto-install/subscription","commits_url":"https://api.github.com/repos/k8sp/auto-install/commits{/sha}","git_commits_url":"https://api.github.com/repos/k8sp/auto-install/git/commits{/sha}","comments_url":"https://api.github.com/repos/k8sp/auto-install/comments{/number}","issue_comment_url":"https://api.github.com/repos/k8sp/auto-install/issues/comments{/number}","contents_url":"https://api.github.com/repos/k8sp/auto-install/contents/{+path}","compare_url":"https://api.github.com/repos/k8sp/auto-install/compare/{base}...{head}","merges_url":"https://api.github.com/repos/k8sp/auto-install/merges","archive_url":"https://api.github.com/repos/k8sp/auto-install/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/k8sp/auto-install/downloads","issues_url":"https://api.github.com/repos/k8sp/auto-install/issues{/number}","pulls_url":"https://api.github.com/repos/k8sp/auto-install/pulls{/number}","milestones_url":"https://api.github.com/repos/k8sp/auto-install/milestones{/number}","notifications_url":"https://api.github.com/repos/k8sp/auto-install/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/k8sp/auto-install/labels{/name}","releases_url":"https://api.github.com/repos/k8sp/auto-install/releases{/id}","deployments_url":"https://api.github.com/repos/k8sp/auto-install/deployments","created_at":"2016-07-13T02:54:51Z","updated_at":"2016-07-27T06:17:49Z","pushed_at":"2016-08-08T18:05:20Z","git_url":"git://github.com/k8sp/auto-install.git","ssh_url":"git@github.com:k8sp/auto-install.git","clone_url":"https://github.com/k8sp/auto-install.git","svn_url":"https://github.com/k8sp/auto-install","homepage":null,"size":15491,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":26,"forks":1,"open_issues":26,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/k8sp/auto-install/pulls/71"},"html":{"href":"https://github.com/k8sp/auto-install/pull/71"},"issue":{"href":"https://api.github.com/repos/k8sp/auto-install/issues/71"},"comments":{"href":"https://api.github.com/repos/k8sp/auto-install/issues/71/comments"},"review_comments":{"href":"https://api.github.com/repos/k8sp/auto-install/pulls/71/comments"},"review_comment":{"href":"https://api.github.com/repos/k8sp/auto-install/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/k8sp/auto-install/pulls/71/commits"},"statuses":{"href":"https://api.github.com/repos/k8sp/auto-install/statuses/0ef6af976832c4b2ce6e6172215512a1677bb067"}}}}
{"actor":{"display_login":"Yancey1989"}}