{"action":"created","comment":{"url":"https://api.github.com/repos/kubernetes/website/pulls/comments/235595489","pull_request_review_id":177497166,"id":235595489,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNTU5NTQ4OQ==","diff_hunk":"@@ -0,0 +1,292 @@\n+---\n+reviewers:\n+- jbeda\n+title: 使用 Bootstrap Token 进行鉴权\n+content_template: templates/concept\n+weight: 20\n+---\n+<!-- \n+---\n+reviewers:\n+- jbeda\n+title: Authenticating with Bootstrap Tokens\n+content_template: templates/concept\n+weight: 20\n+--- \n+-->\n+\n+{{% capture overview %}}\n+<!-- \n+Bootstrap tokens are a simple bearer token that is meant to be used when\n+creating new clusters or joining new nodes to an existing cluster.  It was built\n+to support [kubeadm](/docs/reference/setup-tools/kubeadm/kubeadm/), but can be used in other contexts\n+for users that wish to start clusters without `kubeadm`. It is also built to\n+work, via RBAC policy, with the [Kubelet TLS\n+Bootstrapping](/docs/reference/command-line-tools-reference/kubelet-tls-bootstrapping/) system. \n+-->\n+Bootstrap token 是一种简单的 bearer token，用于创建新集群或将新节点连接到现有集群。它被用来支持 [kubeadm](/docs/reference/setup-tools/kubeadm/kubeadm/)，但也可以作为基础条件被那些希望在没有 `kubeadm` 的情况下创建集群的用户。它也可以通过 RBAC 策略用于 [Kubelet TLS","path":"content/zh/docs/reference/access-authn-authz/bootstrap-tokens.md","position":null,"original_position":27,"commit_id":"eb3313a578a80b2a0c72254cbb0897206daea3ed","original_commit_id":"c35edf36e6379065069e20131d1e19d20a230910","user":{"login":"jiaj12","id":30040924,"node_id":"MDQ6VXNlcjMwMDQwOTI0","avatar_url":"https://avatars0.githubusercontent.com/u/30040924?v=4","gravatar_id":"","url":"https://api.github.com/users/jiaj12","html_url":"https://github.com/jiaj12","followers_url":"https://api.github.com/users/jiaj12/followers","following_url":"https://api.github.com/users/jiaj12/following{/other_user}","gists_url":"https://api.github.com/users/jiaj12/gists{/gist_id}","starred_url":"https://api.github.com/users/jiaj12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiaj12/subscriptions","organizations_url":"https://api.github.com/users/jiaj12/orgs","repos_url":"https://api.github.com/users/jiaj12/repos","events_url":"https://api.github.com/users/jiaj12/events{/privacy}","received_events_url":"https://api.github.com/users/jiaj12/received_events","type":"User","site_admin":false},"body":"改为针对XXX的用户，也可以使用","created_at":"2018-11-22T03:51:35Z","updated_at":"2018-11-22T03:51:35Z","html_url":"https://github.com/kubernetes/website/pull/11151#discussion_r235595489","pull_request_url":"https://api.github.com/repos/kubernetes/website/pulls/11151","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/kubernetes/website/pulls/comments/235595489"},"html":{"href":"https://github.com/kubernetes/website/pull/11151#discussion_r235595489"},"pull_request":{"href":"https://api.github.com/repos/kubernetes/website/pulls/11151"}},"in_reply_to_id":235585878},"pull_request":{"url":"https://api.github.com/repos/kubernetes/website/pulls/11151","id":232570758,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyNTcwNzU4","html_url":"https://github.com/kubernetes/website/pull/11151","diff_url":"https://github.com/kubernetes/website/pull/11151.diff","patch_url":"https://github.com/kubernetes/website/pull/11151.patch","issue_url":"https://api.github.com/repos/kubernetes/website/issues/11151","number":11151,"state":"open","locked":false,"title":"zh-trans content/en/docs/reference/access-authn-authz/bootstrap-tokens.md","user":{"login":"jiaj12","id":30040924,"node_id":"MDQ6VXNlcjMwMDQwOTI0","avatar_url":"https://avatars0.githubusercontent.com/u/30040924?v=4","gravatar_id":"","url":"https://api.github.com/users/jiaj12","html_url":"https://github.com/jiaj12","followers_url":"https://api.github.com/users/jiaj12/followers","following_url":"https://api.github.com/users/jiaj12/following{/other_user}","gists_url":"https://api.github.com/users/jiaj12/gists{/gist_id}","starred_url":"https://api.github.com/users/jiaj12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiaj12/subscriptions","organizations_url":"https://api.github.com/users/jiaj12/orgs","repos_url":"https://api.github.com/users/jiaj12/repos","events_url":"https://api.github.com/users/jiaj12/events{/privacy}","received_events_url":"https://api.github.com/users/jiaj12/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-21T08:06:24Z","updated_at":"2018-11-22T03:51:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5b9e63b8fc6ab9c6f384f6c4966cf483dcf0610d","assignee":{"login":"markthink","id":1718716,"node_id":"MDQ6VXNlcjE3MTg3MTY=","avatar_url":"https://avatars3.githubusercontent.com/u/1718716?v=4","gravatar_id":"","url":"https://api.github.com/users/markthink","html_url":"https://github.com/markthink","followers_url":"https://api.github.com/users/markthink/followers","following_url":"https://api.github.com/users/markthink/following{/other_user}","gists_url":"https://api.github.com/users/markthink/gists{/gist_id}","starred_url":"https://api.github.com/users/markthink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markthink/subscriptions","organizations_url":"https://api.github.com/users/markthink/orgs","repos_url":"https://api.github.com/users/markthink/repos","events_url":"https://api.github.com/users/markthink/events{/privacy}","received_events_url":"https://api.github.com/users/markthink/received_events","type":"User","site_admin":false},"assignees":[{"login":"markthink","id":1718716,"node_id":"MDQ6VXNlcjE3MTg3MTY=","avatar_url":"https://avatars3.githubusercontent.com/u/1718716?v=4","gravatar_id":"","url":"https://api.github.com/users/markthink","html_url":"https://github.com/markthink","followers_url":"https://api.github.com/users/markthink/followers","following_url":"https://api.github.com/users/markthink/following{/other_user}","gists_url":"https://api.github.com/users/markthink/gists{/gist_id}","starred_url":"https://api.github.com/users/markthink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markthink/subscriptions","organizations_url":"https://api.github.com/users/markthink/orgs","repos_url":"https://api.github.com/users/markthink/repos","events_url":"https://api.github.com/users/markthink/events{/privacy}","received_events_url":"https://api.github.com/users/markthink/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"zhangxiaoyu-zidif","id":5154334,"node_id":"MDQ6VXNlcjUxNTQzMzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/5154334?v=4","gravatar_id":"","url":"https://api.github.com/users/zhangxiaoyu-zidif","html_url":"https://github.com/zhangxiaoyu-zidif","followers_url":"https://api.github.com/users/zhangxiaoyu-zidif/followers","following_url":"https://api.github.com/users/zhangxiaoyu-zidif/following{/other_user}","gists_url":"https://api.github.com/users/zhangxiaoyu-zidif/gists{/gist_id}","starred_url":"https://api.github.com/users/zhangxiaoyu-zidif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhangxiaoyu-zidif/subscriptions","organizations_url":"https://api.github.com/users/zhangxiaoyu-zidif/orgs","repos_url":"https://api.github.com/users/zhangxiaoyu-zidif/repos","events_url":"https://api.github.com/users/zhangxiaoyu-zidif/events{/privacy}","received_events_url":"https://api.github.com/users/zhangxiaoyu-zidif/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":484571291,"node_id":"MDU6TGFiZWw0ODQ1NzEyOTE=","url":"https://api.github.com/repos/kubernetes/website/labels/cncf-cla:%20yes","name":"cncf-cla: yes","color":"bfe5bf","default":false},{"id":1078399953,"node_id":"MDU6TGFiZWwxMDc4Mzk5OTUz","url":"https://api.github.com/repos/kubernetes/website/labels/language/zh","name":"language/zh","color":"e9b3f9","default":false},{"id":679457866,"node_id":"MDU6TGFiZWw2Nzk0NTc4NjY=","url":"https://api.github.com/repos/kubernetes/website/labels/size/L","name":"size/L","color":"ee9900","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/kubernetes/website/pulls/11151/commits","review_comments_url":"https://api.github.com/repos/kubernetes/website/pulls/11151/comments","review_comment_url":"https://api.github.com/repos/kubernetes/website/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes/website/issues/11151/comments","statuses_url":"https://api.github.com/repos/kubernetes/website/statuses/eb3313a578a80b2a0c72254cbb0897206daea3ed","head":{"label":"jiaj12:release-1.12","ref":"release-1.12","sha":"eb3313a578a80b2a0c72254cbb0897206daea3ed","user":{"login":"jiaj12","id":30040924,"node_id":"MDQ6VXNlcjMwMDQwOTI0","avatar_url":"https://avatars0.githubusercontent.com/u/30040924?v=4","gravatar_id":"","url":"https://api.github.com/users/jiaj12","html_url":"https://github.com/jiaj12","followers_url":"https://api.github.com/users/jiaj12/followers","following_url":"https://api.github.com/users/jiaj12/following{/other_user}","gists_url":"https://api.github.com/users/jiaj12/gists{/gist_id}","starred_url":"https://api.github.com/users/jiaj12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiaj12/subscriptions","organizations_url":"https://api.github.com/users/jiaj12/orgs","repos_url":"https://api.github.com/users/jiaj12/repos","events_url":"https://api.github.com/users/jiaj12/events{/privacy}","received_events_url":"https://api.github.com/users/jiaj12/received_events","type":"User","site_admin":false},"repo":{"id":158512172,"node_id":"MDEwOlJlcG9zaXRvcnkxNTg1MTIxNzI=","name":"website","full_name":"jiaj12/website","private":false,"owner":{"login":"jiaj12","id":30040924,"node_id":"MDQ6VXNlcjMwMDQwOTI0","avatar_url":"https://avatars0.githubusercontent.com/u/30040924?v=4","gravatar_id":"","url":"https://api.github.com/users/jiaj12","html_url":"https://github.com/jiaj12","followers_url":"https://api.github.com/users/jiaj12/followers","following_url":"https://api.github.com/users/jiaj12/following{/other_user}","gists_url":"https://api.github.com/users/jiaj12/gists{/gist_id}","starred_url":"https://api.github.com/users/jiaj12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiaj12/subscriptions","organizations_url":"https://api.github.com/users/jiaj12/orgs","repos_url":"https://api.github.com/users/jiaj12/repos","events_url":"https://api.github.com/users/jiaj12/events{/privacy}","received_events_url":"https://api.github.com/users/jiaj12/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jiaj12/website","description":"Kubernetes website and documentation repo: ","fork":true,"url":"https://api.github.com/repos/jiaj12/website","forks_url":"https://api.github.com/repos/jiaj12/website/forks","keys_url":"https://api.github.com/repos/jiaj12/website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jiaj12/website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jiaj12/website/teams","hooks_url":"https://api.github.com/repos/jiaj12/website/hooks","issue_events_url":"https://api.github.com/repos/jiaj12/website/issues/events{/number}","events_url":"https://api.github.com/repos/jiaj12/website/events","assignees_url":"https://api.github.com/repos/jiaj12/website/assignees{/user}","branches_url":"https://api.github.com/repos/jiaj12/website/branches{/branch}","tags_url":"https://api.github.com/repos/jiaj12/website/tags","blobs_url":"https://api.github.com/repos/jiaj12/website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jiaj12/website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jiaj12/website/git/refs{/sha}","trees_url":"https://api.github.com/repos/jiaj12/website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jiaj12/website/statuses/{sha}","languages_url":"https://api.github.com/repos/jiaj12/website/languages","stargazers_url":"https://api.github.com/repos/jiaj12/website/stargazers","contributors_url":"https://api.github.com/repos/jiaj12/website/contributors","subscribers_url":"https://api.github.com/repos/jiaj12/website/subscribers","subscription_url":"https://api.github.com/repos/jiaj12/website/subscription","commits_url":"https://api.github.com/repos/jiaj12/website/commits{/sha}","git_commits_url":"https://api.github.com/repos/jiaj12/website/git/commits{/sha}","comments_url":"https://api.github.com/repos/jiaj12/website/comments{/number}","issue_comment_url":"https://api.github.com/repos/jiaj12/website/issues/comments{/number}","contents_url":"https://api.github.com/repos/jiaj12/website/contents/{+path}","compare_url":"https://api.github.com/repos/jiaj12/website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jiaj12/website/merges","archive_url":"https://api.github.com/repos/jiaj12/website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jiaj12/website/downloads","issues_url":"https://api.github.com/repos/jiaj12/website/issues{/number}","pulls_url":"https://api.github.com/repos/jiaj12/website/pulls{/number}","milestones_url":"https://api.github.com/repos/jiaj12/website/milestones{/number}","notifications_url":"https://api.github.com/repos/jiaj12/website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jiaj12/website/labels{/name}","releases_url":"https://api.github.com/repos/jiaj12/website/releases{/id}","deployments_url":"https://api.github.com/repos/jiaj12/website/deployments","created_at":"2018-11-21T08:03:22Z","updated_at":"2018-11-21T08:04:43Z","pushed_at":"2018-11-22T03:50:53Z","git_url":"git://github.com/jiaj12/website.git","ssh_url":"git@github.com:jiaj12/website.git","clone_url":"https://github.com/jiaj12/website.git","svn_url":"https://github.com/jiaj12/website","homepage":"https://kubernetes.io","size":133804,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"cc-by-4.0","name":"Creative Commons Attribution 4.0 International","spdx_id":"CC-BY-4.0","url":"https://api.github.com/licenses/cc-by-4.0","node_id":"MDc6TGljZW5zZTI1"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kubernetes:release-1.12","ref":"release-1.12","sha":"006b19025c8da37b018d7266ac66ab3431a12ca9","user":{"login":"kubernetes","id":13629408,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNjI5NDA4","avatar_url":"https://avatars2.githubusercontent.com/u/13629408?v=4","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"repo":{"id":51478266,"node_id":"MDEwOlJlcG9zaXRvcnk1MTQ3ODI2Ng==","name":"website","full_name":"kubernetes/website","private":false,"owner":{"login":"kubernetes","id":13629408,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNjI5NDA4","avatar_url":"https://avatars2.githubusercontent.com/u/13629408?v=4","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/kubernetes/website","description":"Kubernetes website and documentation repo: ","fork":false,"url":"https://api.github.com/repos/kubernetes/website","forks_url":"https://api.github.com/repos/kubernetes/website/forks","keys_url":"https://api.github.com/repos/kubernetes/website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubernetes/website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubernetes/website/teams","hooks_url":"https://api.github.com/repos/kubernetes/website/hooks","issue_events_url":"https://api.github.com/repos/kubernetes/website/issues/events{/number}","events_url":"https://api.github.com/repos/kubernetes/website/events","assignees_url":"https://api.github.com/repos/kubernetes/website/assignees{/user}","branches_url":"https://api.github.com/repos/kubernetes/website/branches{/branch}","tags_url":"https://api.github.com/repos/kubernetes/website/tags","blobs_url":"https://api.github.com/repos/kubernetes/website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubernetes/website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubernetes/website/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubernetes/website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubernetes/website/statuses/{sha}","languages_url":"https://api.github.com/repos/kubernetes/website/languages","stargazers_url":"https://api.github.com/repos/kubernetes/website/stargazers","contributors_url":"https://api.github.com/repos/kubernetes/website/contributors","subscribers_url":"https://api.github.com/repos/kubernetes/website/subscribers","subscription_url":"https://api.github.com/repos/kubernetes/website/subscription","commits_url":"https://api.github.com/repos/kubernetes/website/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubernetes/website/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubernetes/website/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubernetes/website/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubernetes/website/contents/{+path}","compare_url":"https://api.github.com/repos/kubernetes/website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubernetes/website/merges","archive_url":"https://api.github.com/repos/kubernetes/website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubernetes/website/downloads","issues_url":"https://api.github.com/repos/kubernetes/website/issues{/number}","pulls_url":"https://api.github.com/repos/kubernetes/website/pulls{/number}","milestones_url":"https://api.github.com/repos/kubernetes/website/milestones{/number}","notifications_url":"https://api.github.com/repos/kubernetes/website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubernetes/website/labels{/name}","releases_url":"https://api.github.com/repos/kubernetes/website/releases{/id}","deployments_url":"https://api.github.com/repos/kubernetes/website/deployments","created_at":"2016-02-10T22:46:48Z","updated_at":"2018-11-22T03:22:09Z","pushed_at":"2018-11-22T03:50:54Z","git_url":"git://github.com/kubernetes/website.git","ssh_url":"git@github.com:kubernetes/website.git","clone_url":"https://github.com/kubernetes/website.git","svn_url":"https://github.com/kubernetes/website","homepage":"https://kubernetes.io","size":164324,"stargazers_count":881,"watchers_count":881,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3519,"mirror_url":null,"archived":false,"open_issues_count":467,"license":{"key":"cc-by-4.0","name":"Creative Commons Attribution 4.0 International","spdx_id":"CC-BY-4.0","url":"https://api.github.com/licenses/cc-by-4.0","node_id":"MDc6TGljZW5zZTI1"},"forks":3519,"open_issues":467,"watchers":881,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes/website/pulls/11151"},"html":{"href":"https://github.com/kubernetes/website/pull/11151"},"issue":{"href":"https://api.github.com/repos/kubernetes/website/issues/11151"},"comments":{"href":"https://api.github.com/repos/kubernetes/website/issues/11151/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes/website/pulls/11151/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes/website/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes/website/pulls/11151/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes/website/statuses/eb3313a578a80b2a0c72254cbb0897206daea3ed"}},"author_association":"NONE"}}
{"actor":{"display_login":"jiaj12"}}