{"action":"created","comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments/213515207","pull_request_review_id":150362947,"id":213515207,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMzUxNTIwNw==","diff_hunk":"@@ -0,0 +1,327 @@\n+/*\n+Copyright 2018 The Kubernetes Authors.\n+\n+Licensed under the Apache License, Version 2.0 (the \"License\");\n+you may not use this file except in compliance with the License.\n+You may obtain a copy of the License at\n+\n+    http://www.apache.org/licenses/LICENSE-2.0\n+\n+Unless required by applicable law or agreed to in writing, software\n+distributed under the License is distributed on an \"AS IS\" BASIS,\n+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+See the License for the specific language governing permissions and\n+limitations under the License.\n+*/\n+\n+package openapi\n+\n+import (\n+\t\"fmt\"\n+\t\"strings\"\n+\n+\t\"github.com/go-openapi/spec\"\n+\t\"k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1\"\n+)\n+\n+// ResourceKind determines the scope of an API object: if it's the parent resource,\n+// scale subresource or status subresource.\n+// TODO(roycaihw): do we have a better name for the scope among {resource, scale subresource, status subresource}?\n+type ResourceKind string\n+\n+const (\n+\t// Resource specifies an object of custom resource kind\n+\tResource ResourceKind = \"Resource\"\n+\t// Scale specifies an object of custom resource's scale subresource kind\n+\tScale ResourceKind = \"Scale\"\n+\t// Status specifies an object of custom resource's status subresource kind\n+\tStatus ResourceKind = \"Status\"\n+\n+\tscaleSchemaRef    = \"#/definitions/io.k8s.api.autoscaling.v1.Scale\"\n+\tstatusSchemaRef   = \"#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status\"\n+\tlistMetaSchemaRef = \"#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta\"\n+\tpatchSchemaRef    = \"#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch\"\n+)\n+\n+// SwaggerConstructor takes in CRD OpenAPI schema and CustomResourceDefinitionSpec, and\n+// constructs the OpenAPI swagger that an apiserver serves.\n+type SwaggerConstructor struct {\n+\t// schema is the CRD's OpenAPI v2 schema\n+\tschema *spec.Schema\n+\n+\tgroup    string\n+\tversion  string\n+\tkind     string\n+\tlistKind string\n+\tplural   string\n+\tscope    v1beta1.ResourceScope\n+}\n+\n+// NewSwaggerConstructor creates a new SwaggerConstructor using the CRD OpenAPI schema\n+// and CustomResourceDefinitionSpec\n+func NewSwaggerConstructor(schema *spec.Schema, crdSpec *v1beta1.CustomResourceDefinitionSpec) *SwaggerConstructor {\n+\treturn &SwaggerConstructor{\n+\t\tschema:   schema,\n+\t\tgroup:    crdSpec.Group,\n+\t\tversion:  crdSpec.Version,\n+\t\tkind:     crdSpec.Names.Kind,\n+\t\tlistKind: crdSpec.Names.ListKind,\n+\t\tplural:   crdSpec.Names.Plural,\n+\t\tscope:    crdSpec.Scope,\n+\t}\n+}\n+\n+// ConstructCRDOpenAPISpec constructs the complete OpenAPI swagger (spec).\n+func (c *SwaggerConstructor) ConstructCRDOpenAPISpec() *spec.Swagger {\n+\tbasePath := fmt.Sprintf(\"/apis/%s/%s/%s\", c.group, c.version, c.plural)\n+\tif c.scope == v1beta1.NamespaceScoped {\n+\t\tbasePath = fmt.Sprintf(\"/apis/%s/%s/namespaces/{namespace}/%s\", c.group, c.version, c.plural)\n+\t}\n+\n+\tmodel := fmt.Sprintf(\"%s.%s.%s\", c.group, c.version, c.kind)\n+\tlistModel := fmt.Sprintf(\"%s.%s.%s\", c.group, c.version, c.listKind)\n+\n+\tvar schema spec.Schema\n+\tif c.schema != nil {\n+\t\tschema = *c.schema\n+\t}\n+\n+\treturn &spec.Swagger{\n+\t\tSwaggerProps: spec.SwaggerProps{\n+\t\t\tPaths: &spec.Paths{\n+\t\t\t\tPaths: map[string]spec.PathItem{\n+\t\t\t\t\tbasePath: {\n+\t\t\t\t\t\tPathItemProps: spec.PathItemProps{\n+\t\t\t\t\t\t\tGet:        c.listOperation(),\n+\t\t\t\t\t\t\tPost:       c.createOperation(),\n+\t\t\t\t\t\t\tDelete:     c.deleteCollectionOperation(),\n+\t\t\t\t\t\t\tParameters: pathParameters(),\n+\t\t\t\t\t\t},\n+\t\t\t\t\t},\n+\t\t\t\t\tfmt.Sprintf(\"%s/{name}\", basePath): {\n+\t\t\t\t\t\tPathItemProps: spec.PathItemProps{\n+\t\t\t\t\t\t\tGet:        c.readOperation(Resource),\n+\t\t\t\t\t\t\tPut:        c.replaceOperation(Resource),\n+\t\t\t\t\t\t\tDelete:     c.deleteOperation(),\n+\t\t\t\t\t\t\tPatch:      c.patchOperation(Resource),\n+\t\t\t\t\t\t\tParameters: pathParameters(),\n+\t\t\t\t\t\t},\n+\t\t\t\t\t},\n+\t\t\t\t\tfmt.Sprintf(\"%s/{name}/status\", basePath): {\n+\t\t\t\t\t\tPathItemProps: spec.PathItemProps{\n+\t\t\t\t\t\t\tGet:        c.readOperation(Status),\n+\t\t\t\t\t\t\tPut:        c.replaceOperation(Status),\n+\t\t\t\t\t\t\tPatch:      c.patchOperation(Status),\n+\t\t\t\t\t\t\tParameters: pathParameters(),\n+\t\t\t\t\t\t},\n+\t\t\t\t\t},\n+\t\t\t\t\tfmt.Sprintf(\"%s/{name}/scale\", basePath): {\n+\t\t\t\t\t\tPathItemProps: spec.PathItemProps{\n+\t\t\t\t\t\t\tGet:        c.readOperation(Scale),\n+\t\t\t\t\t\t\tPut:        c.replaceOperation(Scale),\n+\t\t\t\t\t\t\tPatch:      c.patchOperation(Scale),\n+\t\t\t\t\t\t\tParameters: pathParameters(),\n+\t\t\t\t\t\t},\n+\t\t\t\t\t},\n+\t\t\t\t},\n+\t\t\t},\n+\t\t\tDefinitions: spec.Definitions{\n+\t\t\t\tmodel:     schema,\n+\t\t\t\tlistModel: *c.listSchema(),\n+\t\t\t\t// TODO(roycaihw): this is a hack to let apiExtension apiserver and generic kube-apiserver\n+\t\t\t\t// to have the same io.k8s.api.autoscaling.v1.Scale definition, so that aggregator server won't\n+\t\t\t\t// detect name conflict and create a duplicate io.k8s.api.autoscaling.v1.Scale_V2 schema\n+\t\t\t\t// when aggregating the openapi spec. This hack won't tolerate any changes in","path":"staging/src/k8s.io/apiextensions-apiserver/pkg/openapi/construction.go","position":134,"original_position":134,"commit_id":"70167193c75ba05908248d6cabab6eb6169c8bcc","original_commit_id":"c160bbd45cc2f3ca6d16643580f2b1fca115abce","user":{"login":"mbohlool","id":1613024,"node_id":"MDQ6VXNlcjE2MTMwMjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1613024?v=4","gravatar_id":"","url":"https://api.github.com/users/mbohlool","html_url":"https://github.com/mbohlool","followers_url":"https://api.github.com/users/mbohlool/followers","following_url":"https://api.github.com/users/mbohlool/following{/other_user}","gists_url":"https://api.github.com/users/mbohlool/gists{/gist_id}","starred_url":"https://api.github.com/users/mbohlool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbohlool/subscriptions","organizations_url":"https://api.github.com/users/mbohlool/orgs","repos_url":"https://api.github.com/users/mbohlool/repos","events_url":"https://api.github.com/users/mbohlool/events{/privacy}","received_events_url":"https://api.github.com/users/mbohlool/received_events","type":"User","site_admin":false},"body":"what do you mean by won't tolerate? does it mean failure or copying to _V2?","created_at":"2018-08-29T00:43:54Z","updated_at":"2018-08-29T00:45:45Z","html_url":"https://github.com/kubernetes/kubernetes/pull/67205#discussion_r213515207","pull_request_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/67205","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments/213515207"},"html":{"href":"https://github.com/kubernetes/kubernetes/pull/67205#discussion_r213515207"},"pull_request":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/67205"}}},"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/67205","id":207391817,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3MzkxODE3","html_url":"https://github.com/kubernetes/kubernetes/pull/67205","diff_url":"https://github.com/kubernetes/kubernetes/pull/67205.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/67205.patch","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/67205","number":67205,"state":"open","locked":false,"title":"Serve OpenAPI spec for registered CRDs","user":{"login":"roycaihw","id":6629765,"node_id":"MDQ6VXNlcjY2Mjk3NjU=","avatar_url":"https://avatars1.githubusercontent.com/u/6629765?v=4","gravatar_id":"","url":"https://api.github.com/users/roycaihw","html_url":"https://github.com/roycaihw","followers_url":"https://api.github.com/users/roycaihw/followers","following_url":"https://api.github.com/users/roycaihw/following{/other_user}","gists_url":"https://api.github.com/users/roycaihw/gists{/gist_id}","starred_url":"https://api.github.com/users/roycaihw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roycaihw/subscriptions","organizations_url":"https://api.github.com/users/roycaihw/orgs","repos_url":"https://api.github.com/users/roycaihw/repos","events_url":"https://api.github.com/users/roycaihw/events{/privacy}","received_events_url":"https://api.github.com/users/roycaihw/received_events","type":"User","site_admin":false},"body":"\r\n<!--  Thanks for sending a pull request!  Here are some tips for you:\r\n1. If this is your first time, read our contributor guidelines https://git.k8s.io/community/contributors/guide#your-first-contribution and developer guide https://git.k8s.io/community/contributors/devel/development.md#development-guide\r\n2. If you want *faster* PR reviews, read how: https://git.k8s.io/community/contributors/guide/pull-requests.md#best-practices-for-faster-reviews\r\n3. Follow the instructions for writing a release note: https://git.k8s.io/community/contributors/guide/release-notes.md\r\n4. If the PR is unfinished, see how to mark it: https://git.k8s.io/community/contributors/guide/pull-requests.md#marking-unfinished-pull-requests\r\n-->\r\n\r\n**What this PR does / why we need it**:\r\nGenerate and serve the OpenAPI spec for registered CRDs\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 #58603\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\nAPIserver now serves OpenAPI spec for registered CRDs\r\n```\r\n\r\n/sig api-machinery\r\n\r\ncc @mbohlool @sttts ","created_at":"2018-08-09T17:40:54Z","updated_at":"2018-08-29T00:45:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"72a7e97ada8b21ab85eaa2a1906d1cb46a391644","assignee":{"login":"sttts","id":730123,"node_id":"MDQ6VXNlcjczMDEyMw==","avatar_url":"https://avatars0.githubusercontent.com/u/730123?v=4","gravatar_id":"","url":"https://api.github.com/users/sttts","html_url":"https://github.com/sttts","followers_url":"https://api.github.com/users/sttts/followers","following_url":"https://api.github.com/users/sttts/following{/other_user}","gists_url":"https://api.github.com/users/sttts/gists{/gist_id}","starred_url":"https://api.github.com/users/sttts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sttts/subscriptions","organizations_url":"https://api.github.com/users/sttts/orgs","repos_url":"https://api.github.com/users/sttts/repos","events_url":"https://api.github.com/users/sttts/events{/privacy}","received_events_url":"https://api.github.com/users/sttts/received_events","type":"User","site_admin":false},"assignees":[{"login":"sttts","id":730123,"node_id":"MDQ6VXNlcjczMDEyMw==","avatar_url":"https://avatars0.githubusercontent.com/u/730123?v=4","gravatar_id":"","url":"https://api.github.com/users/sttts","html_url":"https://github.com/sttts","followers_url":"https://api.github.com/users/sttts/followers","following_url":"https://api.github.com/users/sttts/following{/other_user}","gists_url":"https://api.github.com/users/sttts/gists{/gist_id}","starred_url":"https://api.github.com/users/sttts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sttts/subscriptions","organizations_url":"https://api.github.com/users/sttts/orgs","repos_url":"https://api.github.com/users/sttts/repos","events_url":"https://api.github.com/users/sttts/events{/privacy}","received_events_url":"https://api.github.com/users/sttts/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"janetkuo","id":4876867,"node_id":"MDQ6VXNlcjQ4NzY4Njc=","avatar_url":"https://avatars1.githubusercontent.com/u/4876867?v=4","gravatar_id":"","url":"https://api.github.com/users/janetkuo","html_url":"https://github.com/janetkuo","followers_url":"https://api.github.com/users/janetkuo/followers","following_url":"https://api.github.com/users/janetkuo/following{/other_user}","gists_url":"https://api.github.com/users/janetkuo/gists{/gist_id}","starred_url":"https://api.github.com/users/janetkuo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janetkuo/subscriptions","organizations_url":"https://api.github.com/users/janetkuo/orgs","repos_url":"https://api.github.com/users/janetkuo/repos","events_url":"https://api.github.com/users/janetkuo/events{/privacy}","received_events_url":"https://api.github.com/users/janetkuo/received_events","type":"User","site_admin":false},{"login":"nikhita","id":16105680,"node_id":"MDQ6VXNlcjE2MTA1Njgw","avatar_url":"https://avatars1.githubusercontent.com/u/16105680?v=4","gravatar_id":"","url":"https://api.github.com/users/nikhita","html_url":"https://github.com/nikhita","followers_url":"https://api.github.com/users/nikhita/followers","following_url":"https://api.github.com/users/nikhita/following{/other_user}","gists_url":"https://api.github.com/users/nikhita/gists{/gist_id}","starred_url":"https://api.github.com/users/nikhita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikhita/subscriptions","organizations_url":"https://api.github.com/users/nikhita/orgs","repos_url":"https://api.github.com/users/nikhita/repos","events_url":"https://api.github.com/users/nikhita/events{/privacy}","received_events_url":"https://api.github.com/users/nikhita/received_events","type":"User","site_admin":false},{"login":"CaoShuFeng","id":20855209,"node_id":"MDQ6VXNlcjIwODU1MjA5","avatar_url":"https://avatars0.githubusercontent.com/u/20855209?v=4","gravatar_id":"","url":"https://api.github.com/users/CaoShuFeng","html_url":"https://github.com/CaoShuFeng","followers_url":"https://api.github.com/users/CaoShuFeng/followers","following_url":"https://api.github.com/users/CaoShuFeng/following{/other_user}","gists_url":"https://api.github.com/users/CaoShuFeng/gists{/gist_id}","starred_url":"https://api.github.com/users/CaoShuFeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaoShuFeng/subscriptions","organizations_url":"https://api.github.com/users/CaoShuFeng/orgs","repos_url":"https://api.github.com/users/CaoShuFeng/repos","events_url":"https://api.github.com/users/CaoShuFeng/events{/privacy}","received_events_url":"https://api.github.com/users/CaoShuFeng/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":136601536,"node_id":"MDU6TGFiZWwxMzY2MDE1MzY=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/apiserver","name":"area/apiserver","color":"0052cc","default":false},{"id":556590057,"node_id":"MDU6TGFiZWw1NTY1OTAwNTc=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/custom-resources","name":"area/custom-resources","color":"0052cc","default":false},{"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":200149833,"node_id":"MDU6TGFiZWwyMDAxNDk4MzM=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/release-note","name":"release-note","color":"c2e0c6","default":false},{"id":173493835,"node_id":"MDU6TGFiZWwxNzM0OTM4MzU=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/api-machinery","name":"sig/api-machinery","color":"d2b48c","default":false},{"id":253451093,"node_id":"MDU6TGFiZWwyNTM0NTEwOTM=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/size/XXL","name":"size/XXL","color":"ee0000","default":false}],"milestone":{"url":"https://api.github.com/repos/kubernetes/kubernetes/milestones/39","html_url":"https://github.com/kubernetes/kubernetes/milestone/39","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/milestones/39/labels","id":2913712,"node_id":"MDk6TWlsZXN0b25lMjkxMzcxMg==","number":39,"title":"v1.12","description":"","creator":{"login":"thockin","id":5595220,"node_id":"MDQ6VXNlcjU1OTUyMjA=","avatar_url":"https://avatars0.githubusercontent.com/u/5595220?v=4","gravatar_id":"","url":"https://api.github.com/users/thockin","html_url":"https://github.com/thockin","followers_url":"https://api.github.com/users/thockin/followers","following_url":"https://api.github.com/users/thockin/following{/other_user}","gists_url":"https://api.github.com/users/thockin/gists{/gist_id}","starred_url":"https://api.github.com/users/thockin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thockin/subscriptions","organizations_url":"https://api.github.com/users/thockin/orgs","repos_url":"https://api.github.com/users/thockin/repos","events_url":"https://api.github.com/users/thockin/events{/privacy}","received_events_url":"https://api.github.com/users/thockin/received_events","type":"User","site_admin":false},"open_issues":80,"closed_issues":61,"state":"open","created_at":"2017-11-15T06:32:51Z","updated_at":"2018-08-29T00:33:18Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/67205/commits","review_comments_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/67205/comments","review_comment_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/67205/comments","statuses_url":"https://api.github.com/repos/kubernetes/kubernetes/statuses/70167193c75ba05908248d6cabab6eb6169c8bcc","head":{"label":"roycaihw:crd-openapi-spec","ref":"crd-openapi-spec","sha":"70167193c75ba05908248d6cabab6eb6169c8bcc","user":{"login":"roycaihw","id":6629765,"node_id":"MDQ6VXNlcjY2Mjk3NjU=","avatar_url":"https://avatars1.githubusercontent.com/u/6629765?v=4","gravatar_id":"","url":"https://api.github.com/users/roycaihw","html_url":"https://github.com/roycaihw","followers_url":"https://api.github.com/users/roycaihw/followers","following_url":"https://api.github.com/users/roycaihw/following{/other_user}","gists_url":"https://api.github.com/users/roycaihw/gists{/gist_id}","starred_url":"https://api.github.com/users/roycaihw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roycaihw/subscriptions","organizations_url":"https://api.github.com/users/roycaihw/orgs","repos_url":"https://api.github.com/users/roycaihw/repos","events_url":"https://api.github.com/users/roycaihw/events{/privacy}","received_events_url":"https://api.github.com/users/roycaihw/received_events","type":"User","site_admin":false},"repo":{"id":99164245,"node_id":"MDEwOlJlcG9zaXRvcnk5OTE2NDI0NQ==","name":"kubernetes","full_name":"roycaihw/kubernetes","owner":{"login":"roycaihw","id":6629765,"node_id":"MDQ6VXNlcjY2Mjk3NjU=","avatar_url":"https://avatars1.githubusercontent.com/u/6629765?v=4","gravatar_id":"","url":"https://api.github.com/users/roycaihw","html_url":"https://github.com/roycaihw","followers_url":"https://api.github.com/users/roycaihw/followers","following_url":"https://api.github.com/users/roycaihw/following{/other_user}","gists_url":"https://api.github.com/users/roycaihw/gists{/gist_id}","starred_url":"https://api.github.com/users/roycaihw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roycaihw/subscriptions","organizations_url":"https://api.github.com/users/roycaihw/orgs","repos_url":"https://api.github.com/users/roycaihw/repos","events_url":"https://api.github.com/users/roycaihw/events{/privacy}","received_events_url":"https://api.github.com/users/roycaihw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/roycaihw/kubernetes","description":"Production-Grade Container Scheduling and Management","fork":true,"url":"https://api.github.com/repos/roycaihw/kubernetes","forks_url":"https://api.github.com/repos/roycaihw/kubernetes/forks","keys_url":"https://api.github.com/repos/roycaihw/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/roycaihw/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/roycaihw/kubernetes/teams","hooks_url":"https://api.github.com/repos/roycaihw/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/roycaihw/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/roycaihw/kubernetes/events","assignees_url":"https://api.github.com/repos/roycaihw/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/roycaihw/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/roycaihw/kubernetes/tags","blobs_url":"https://api.github.com/repos/roycaihw/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/roycaihw/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/roycaihw/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/roycaihw/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/roycaihw/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/roycaihw/kubernetes/languages","stargazers_url":"https://api.github.com/repos/roycaihw/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/roycaihw/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/roycaihw/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/roycaihw/kubernetes/subscription","commits_url":"https://api.github.com/repos/roycaihw/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/roycaihw/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/roycaihw/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/roycaihw/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/roycaihw/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/roycaihw/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/roycaihw/kubernetes/merges","archive_url":"https://api.github.com/repos/roycaihw/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/roycaihw/kubernetes/downloads","issues_url":"https://api.github.com/repos/roycaihw/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/roycaihw/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/roycaihw/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/roycaihw/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/roycaihw/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/roycaihw/kubernetes/releases{/id}","deployments_url":"https://api.github.com/repos/roycaihw/kubernetes/deployments","created_at":"2017-08-02T21:57:09Z","updated_at":"2018-08-17T17:50:54Z","pushed_at":"2018-08-28T21:37:20Z","git_url":"git://github.com/roycaihw/kubernetes.git","ssh_url":"git@github.com:roycaihw/kubernetes.git","clone_url":"https://github.com/roycaihw/kubernetes.git","svn_url":"https://github.com/roycaihw/kubernetes","homepage":"http://kubernetes.io","size":589334,"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:master","ref":"master","sha":"40063e8810d61f4550cbdbfa33da90728c727679","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-08-29T00:00:39Z","pushed_at":"2018-08-29T00:22:29Z","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":804198,"stargazers_count":40675,"watchers_count":40675,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":14136,"mirror_url":null,"archived":false,"open_issues_count":3094,"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":14136,"open_issues":3094,"watchers":40675,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/67205"},"html":{"href":"https://github.com/kubernetes/kubernetes/pull/67205"},"issue":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/67205"},"comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/67205/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/67205/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/67205/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes/kubernetes/statuses/70167193c75ba05908248d6cabab6eb6169c8bcc"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"mbohlool"}}