{"action":"created","comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments/193590971","pull_request_review_id":126592541,"id":193590971,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5MzU5MDk3MQ==","diff_hunk":"@@ -315,23 +320,96 @@ func strategicPatchObject(\n \n type applyPatcher struct {\n \t*patcher\n+\n+\tmodel proto.Schema\n }\n \n-func (p *applyPatcher) applyPatchToCurrentObject(currentObject runtime.Object) (runtime.Object, error) {\n-\tversionedObjToUpdate, err := p.creater.New(p.kind)\n+// This is not going to stay, but we don't have a way to pass the\n+// workflow id so far, so let's always use this one...\n+const workflowId = \"default\"\n+\n+func (p *applyPatcher) LiveObject(obj runtime.Object) (map[string]interface{}, error) {\n+\tvo, err := p.unsafeConvertor.ConvertToVersion(obj, p.kind.GroupVersion())\n \tif err != nil {\n \t\treturn nil, err\n \t}\n-\tif err := runtime.DecodeInto(p.codec, p.patchBytes, versionedObjToUpdate); err != nil {\n-\t\treturn nil, err\n+\treturn runtime.DefaultUnstructuredConverter.ToUnstructured(vo)\n+}\n+\n+func (p *applyPatcher) LastAppliedObject(obj runtime.Object, workflow string) (map[string]interface{}, error) {\n+\tacsor, err := meta.Accessor(obj)\n+\tif err != nil {\n+\t\treturn nil, fmt.Errorf(\"couldn't get accessor: %v\", err)\n \t}\n-\t// For now, instead of performing a structured merge we will just attempt a PUT\n-\t// So we just convert the object back to unversioned (aka internal version).\n-\tunversionedObjToUpdate, err := p.toUnversioned(versionedObjToUpdate)\n+\tlast := make(map[string]interface{})\n+\tif acsor.GetLastApplied()[workflow] != \"\" {\n+\t\tif err := json.Unmarshal([]byte(acsor.GetLastApplied()[workflow]), &last); err != nil {\n+\t\t\treturn nil, fmt.Errorf(\"couldn't unmarshal last applied field: %v\", err)\n+\t\t}\n+\t}\n+\treturn last, nil\n+}\n+\n+func (p *applyPatcher) PatchObject() (map[string]interface{}, error) {\n+\tpatch := make(map[string]interface{})\n+\tif err := yaml.Unmarshal(p.patchBytes, &patch); err != nil {\n+\t\treturn nil, fmt.Errorf(\"couldn't unmarshal patch object: %v (patch: %v)\", err, string(p.patchBytes))\n+\t}\n+\treturn patch, nil\n+}\n+\n+func (p *applyPatcher) OutputObject(result interface{}) (runtime.Object, error) {\n+\tvoutput, err := p.creater.New(p.kind)\n \tif err != nil {\n-\t\treturn nil, err\n+\t\treturn nil, fmt.Errorf(\"failed to create empty output object: %v\", err)\n \t}\n-\treturn unversionedObjToUpdate, nil\n+\n+\terr = runtime.DefaultUnstructuredConverter.FromUnstructured(result.(map[string]interface{}), voutput)\n+\tif err != nil {\n+\t\treturn nil, fmt.Errorf(\"failed to convert merge result back: %v\", err)\n+\t}\n+\tp.defaulter.Default(voutput)\n+\n+\tuoutput, err := p.toUnversioned(voutput)\n+\tif err != nil {\n+\t\treturn nil, fmt.Errorf(\"failed to convert to unversioned: %v\", err)\n+\t}\n+\n+\treturn uoutput, nil\n+}\n+\n+func (p *applyPatcher) applyPatchToCurrentObject(currentObject runtime.Object) (runtime.Object, error) {\n+\tlive, err := p.LiveObject(currentObject)\n+\tif err != nil {\n+\t\treturn nil, fmt.Errorf(\"failed to get live object: %v\", err)\n+\t}\n+\n+\tlast, err := p.LastAppliedObject(currentObject, workflowId)\n+\tif err != nil {\n+\t\treturn nil, fmt.Errorf(\"failed to get last applied object: %v\", err)\n+\t}\n+\tpatch, err := p.PatchObject()\n+\tif err != nil {\n+\t\treturn nil, fmt.Errorf(\"failed to get patch object: %v\", err)\n+\t}\n+\n+\telmt, err := parse.CreateElement(last, patch, live, p.model)\n+\tif err != nil {\n+\t\treturn nil, fmt.Errorf(\"failed to parse elements: %v\", err)\n+\t}\n+\tresult, err := elmt.Merge(strategy.Create(strategy.Options{}))\n+\tif err != nil {\n+\t\treturn nil, fmt.Errorf(\"failed to merge elements: %v\", err)\n+\t}\n+\n+\toutput, err := p.OutputObject(result.MergedResult)\n+\tif err != nil {\n+\t\treturn nil, fmt.Errorf(\"failed to convert merge result: %v\", err)\n+\t}\n+\n+\t// TODO(apelisse): Update last applied\n+","path":"staging/src/k8s.io/apiserver/pkg/endpoints/handlers/patch.go","position":131,"original_position":131,"commit_id":"b6a413ee943473c8ab1768840cb55cba48ef9d61","original_commit_id":"b6a413ee943473c8ab1768840cb55cba48ef9d61","user":{"login":"lavalamp","id":647318,"node_id":"MDQ6VXNlcjY0NzMxOA==","avatar_url":"https://avatars0.githubusercontent.com/u/647318?v=4","gravatar_id":"","url":"https://api.github.com/users/lavalamp","html_url":"https://github.com/lavalamp","followers_url":"https://api.github.com/users/lavalamp/followers","following_url":"https://api.github.com/users/lavalamp/following{/other_user}","gists_url":"https://api.github.com/users/lavalamp/gists{/gist_id}","starred_url":"https://api.github.com/users/lavalamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lavalamp/subscriptions","organizations_url":"https://api.github.com/users/lavalamp/orgs","repos_url":"https://api.github.com/users/lavalamp/repos","events_url":"https://api.github.com/users/lavalamp/events{/privacy}","received_events_url":"https://api.github.com/users/lavalamp/received_events","type":"User","site_admin":false},"body":"no, but I definitely don't want to forget","created_at":"2018-06-06T23:39:32Z","updated_at":"2018-06-06T23:39:32Z","html_url":"https://github.com/kubernetes/kubernetes/pull/64856#discussion_r193590971","pull_request_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/64856","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments/193590971"},"html":{"href":"https://github.com/kubernetes/kubernetes/pull/64856#discussion_r193590971"},"pull_request":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/64856"}},"in_reply_to_id":193587575},"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/64856","id":193159449,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzMTU5NDQ5","html_url":"https://github.com/kubernetes/kubernetes/pull/64856","diff_url":"https://github.com/kubernetes/kubernetes/pull/64856.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/64856.patch","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/64856","number":64856,"state":"open","locked":false,"title":"patch: Use existing merge code to merge live/patch/last","user":{"login":"apelisse","id":1929644,"node_id":"MDQ6VXNlcjE5Mjk2NDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1929644?v=4","gravatar_id":"","url":"https://api.github.com/users/apelisse","html_url":"https://github.com/apelisse","followers_url":"https://api.github.com/users/apelisse/followers","following_url":"https://api.github.com/users/apelisse/following{/other_user}","gists_url":"https://api.github.com/users/apelisse/gists{/gist_id}","starred_url":"https://api.github.com/users/apelisse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apelisse/subscriptions","organizations_url":"https://api.github.com/users/apelisse/orgs","repos_url":"https://api.github.com/users/apelisse/repos","events_url":"https://api.github.com/users/apelisse/events{/privacy}","received_events_url":"https://api.github.com/users/apelisse/received_events","type":"User","site_admin":false},"body":"**What this PR does / why we need it**:\r\nThis PR uses existing merge code to merge on \"apply\". This is sort-of looking like an alpha version now.\r\n\r\n**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:\r\nFixes #\r\n\r\n**Special notes for your reviewer**:\r\n\r\n**Release note**:\r\n<!--  Write your release note:\r\n1. Enter your extended release note in the below block. If the PR requires additional action from users switching to the new release, include the string \"action required\".\r\n2. If no release note is required, just write \"NONE\".\r\n-->\r\n```release-note\r\nNONE\r\n```\r\n","created_at":"2018-06-06T22:35:50Z","updated_at":"2018-06-06T23:39:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2dbb05fb3b0fbd2e937f38b79b3ce9124aec0724","assignee":null,"assignees":[],"requested_reviewers":[{"login":"liggitt","id":980082,"node_id":"MDQ6VXNlcjk4MDA4Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/980082?v=4","gravatar_id":"","url":"https://api.github.com/users/liggitt","html_url":"https://github.com/liggitt","followers_url":"https://api.github.com/users/liggitt/followers","following_url":"https://api.github.com/users/liggitt/following{/other_user}","gists_url":"https://api.github.com/users/liggitt/gists{/gist_id}","starred_url":"https://api.github.com/users/liggitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liggitt/subscriptions","organizations_url":"https://api.github.com/users/liggitt/orgs","repos_url":"https://api.github.com/users/liggitt/repos","events_url":"https://api.github.com/users/liggitt/events{/privacy}","received_events_url":"https://api.github.com/users/liggitt/received_events","type":"User","site_admin":false},{"login":"wojtek-t","id":10743879,"node_id":"MDQ6VXNlcjEwNzQzODc5","avatar_url":"https://avatars3.githubusercontent.com/u/10743879?v=4","gravatar_id":"","url":"https://api.github.com/users/wojtek-t","html_url":"https://github.com/wojtek-t","followers_url":"https://api.github.com/users/wojtek-t/followers","following_url":"https://api.github.com/users/wojtek-t/following{/other_user}","gists_url":"https://api.github.com/users/wojtek-t/gists{/gist_id}","starred_url":"https://api.github.com/users/wojtek-t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wojtek-t/subscriptions","organizations_url":"https://api.github.com/users/wojtek-t/orgs","repos_url":"https://api.github.com/users/wojtek-t/repos","events_url":"https://api.github.com/users/wojtek-t/events{/privacy}","received_events_url":"https://api.github.com/users/wojtek-t/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":477397086,"node_id":"MDU6TGFiZWw0NzczOTcwODY=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cncf-cla:%20yes","name":"cncf-cla: yes","color":"bfe5bf","default":false},{"id":349530249,"node_id":"MDU6TGFiZWwzNDk1MzAyNDk=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/release-note-none","name":"release-note-none","color":"c2e0c6","default":false},{"id":253450978,"node_id":"MDU6TGFiZWwyNTM0NTA5Nzg=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/size/L","name":"size/L","color":"ee9900","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/64856/commits","review_comments_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/64856/comments","review_comment_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/64856/comments","statuses_url":"https://api.github.com/repos/kubernetes/kubernetes/statuses/b6a413ee943473c8ab1768840cb55cba48ef9d61","head":{"label":"apelisse:patch-using-phils-code","ref":"patch-using-phils-code","sha":"b6a413ee943473c8ab1768840cb55cba48ef9d61","user":{"login":"apelisse","id":1929644,"node_id":"MDQ6VXNlcjE5Mjk2NDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1929644?v=4","gravatar_id":"","url":"https://api.github.com/users/apelisse","html_url":"https://github.com/apelisse","followers_url":"https://api.github.com/users/apelisse/followers","following_url":"https://api.github.com/users/apelisse/following{/other_user}","gists_url":"https://api.github.com/users/apelisse/gists{/gist_id}","starred_url":"https://api.github.com/users/apelisse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apelisse/subscriptions","organizations_url":"https://api.github.com/users/apelisse/orgs","repos_url":"https://api.github.com/users/apelisse/repos","events_url":"https://api.github.com/users/apelisse/events{/privacy}","received_events_url":"https://api.github.com/users/apelisse/received_events","type":"User","site_admin":false},"repo":{"id":63436806,"node_id":"MDEwOlJlcG9zaXRvcnk2MzQzNjgwNg==","name":"kubernetes","full_name":"apelisse/kubernetes","owner":{"login":"apelisse","id":1929644,"node_id":"MDQ6VXNlcjE5Mjk2NDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1929644?v=4","gravatar_id":"","url":"https://api.github.com/users/apelisse","html_url":"https://github.com/apelisse","followers_url":"https://api.github.com/users/apelisse/followers","following_url":"https://api.github.com/users/apelisse/following{/other_user}","gists_url":"https://api.github.com/users/apelisse/gists{/gist_id}","starred_url":"https://api.github.com/users/apelisse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apelisse/subscriptions","organizations_url":"https://api.github.com/users/apelisse/orgs","repos_url":"https://api.github.com/users/apelisse/repos","events_url":"https://api.github.com/users/apelisse/events{/privacy}","received_events_url":"https://api.github.com/users/apelisse/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/apelisse/kubernetes","description":"Production-Grade Container Scheduling and Management","fork":true,"url":"https://api.github.com/repos/apelisse/kubernetes","forks_url":"https://api.github.com/repos/apelisse/kubernetes/forks","keys_url":"https://api.github.com/repos/apelisse/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apelisse/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apelisse/kubernetes/teams","hooks_url":"https://api.github.com/repos/apelisse/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/apelisse/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/apelisse/kubernetes/events","assignees_url":"https://api.github.com/repos/apelisse/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/apelisse/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/apelisse/kubernetes/tags","blobs_url":"https://api.github.com/repos/apelisse/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apelisse/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apelisse/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/apelisse/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apelisse/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/apelisse/kubernetes/languages","stargazers_url":"https://api.github.com/repos/apelisse/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/apelisse/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/apelisse/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/apelisse/kubernetes/subscription","commits_url":"https://api.github.com/repos/apelisse/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/apelisse/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/apelisse/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/apelisse/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/apelisse/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/apelisse/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apelisse/kubernetes/merges","archive_url":"https://api.github.com/repos/apelisse/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apelisse/kubernetes/downloads","issues_url":"https://api.github.com/repos/apelisse/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/apelisse/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/apelisse/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/apelisse/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apelisse/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/apelisse/kubernetes/releases{/id}","deployments_url":"https://api.github.com/repos/apelisse/kubernetes/deployments","created_at":"2016-07-15T16:43:21Z","updated_at":"2016-07-15T16:43:39Z","pushed_at":"2018-06-06T22:34:06Z","git_url":"git://github.com/apelisse/kubernetes.git","ssh_url":"git@github.com:apelisse/kubernetes.git","clone_url":"https://github.com/apelisse/kubernetes.git","svn_url":"https://github.com/apelisse/kubernetes","homepage":"http://kubernetes.io","size":551528,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kubernetes:feature-serverside-apply","ref":"feature-serverside-apply","sha":"3acc1db380c31e5412cde9547d1534242b0e2be8","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":20580498,"node_id":"MDEwOlJlcG9zaXRvcnkyMDU4MDQ5OA==","name":"kubernetes","full_name":"kubernetes/kubernetes","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},"private":false,"html_url":"https://github.com/kubernetes/kubernetes","description":"Production-Grade Container Scheduling and Management","fork":false,"url":"https://api.github.com/repos/kubernetes/kubernetes","forks_url":"https://api.github.com/repos/kubernetes/kubernetes/forks","keys_url":"https://api.github.com/repos/kubernetes/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubernetes/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubernetes/kubernetes/teams","hooks_url":"https://api.github.com/repos/kubernetes/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/kubernetes/kubernetes/events","assignees_url":"https://api.github.com/repos/kubernetes/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/kubernetes/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/kubernetes/kubernetes/tags","blobs_url":"https://api.github.com/repos/kubernetes/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubernetes/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubernetes/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubernetes/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubernetes/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/kubernetes/kubernetes/languages","stargazers_url":"https://api.github.com/repos/kubernetes/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/kubernetes/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/kubernetes/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/kubernetes/kubernetes/subscription","commits_url":"https://api.github.com/repos/kubernetes/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubernetes/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubernetes/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/kubernetes/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubernetes/kubernetes/merges","archive_url":"https://api.github.com/repos/kubernetes/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubernetes/kubernetes/downloads","issues_url":"https://api.github.com/repos/kubernetes/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/kubernetes/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/kubernetes/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/kubernetes/kubernetes/releases{/id}","deployments_url":"https://api.github.com/repos/kubernetes/kubernetes/deployments","created_at":"2014-06-06T22:56:04Z","updated_at":"2018-06-06T22:32:35Z","pushed_at":"2018-06-06T23:33:42Z","git_url":"git://github.com/kubernetes/kubernetes.git","ssh_url":"git@github.com:kubernetes/kubernetes.git","clone_url":"https://github.com/kubernetes/kubernetes.git","svn_url":"https://github.com/kubernetes/kubernetes","homepage":"http://kubernetes.io","size":785764,"stargazers_count":37245,"watchers_count":37245,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":13049,"mirror_url":null,"archived":false,"open_issues_count":3206,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":13049,"open_issues":3206,"watchers":37245,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/64856"},"html":{"href":"https://github.com/kubernetes/kubernetes/pull/64856"},"issue":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/64856"},"comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/64856/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/64856/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/64856/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes/kubernetes/statuses/b6a413ee943473c8ab1768840cb55cba48ef9d61"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"lavalamp"}}