{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes-incubator/service-catalog/issues/1213","repository_url":"https://api.github.com/repos/kubernetes-incubator/service-catalog","labels_url":"https://api.github.com/repos/kubernetes-incubator/service-catalog/issues/1213/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes-incubator/service-catalog/issues/1213/comments","events_url":"https://api.github.com/repos/kubernetes-incubator/service-catalog/issues/1213/events","html_url":"https://github.com/kubernetes-incubator/service-catalog/pull/1213","id":256789082,"number":1213,"title":"#1149 - block concurrent updates to ServiceInstance and ServiceInstanceCredential","user":{"login":"staebler","id":30120115,"avatar_url":"https://avatars1.githubusercontent.com/u/30120115?v=4","gravatar_id":"","url":"https://api.github.com/users/staebler","html_url":"https://github.com/staebler","followers_url":"https://api.github.com/users/staebler/followers","following_url":"https://api.github.com/users/staebler/following{/other_user}","gists_url":"https://api.github.com/users/staebler/gists{/gist_id}","starred_url":"https://api.github.com/users/staebler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/staebler/subscriptions","organizations_url":"https://api.github.com/users/staebler/orgs","repos_url":"https://api.github.com/users/staebler/repos","events_url":"https://api.github.com/users/staebler/events{/privacy}","received_events_url":"https://api.github.com/users/staebler/received_events","type":"User","site_admin":false},"labels":[{"id":485046198,"url":"https://api.github.com/repos/kubernetes-incubator/service-catalog/labels/cncf-cla:%20yes","name":"cncf-cla: yes","color":"ededed","default":false},{"id":676162243,"url":"https://api.github.com/repos/kubernetes-incubator/service-catalog/labels/size/XXL","name":"size/XXL","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-09-11T17:52:41Z","updated_at":"2017-09-23T01:07:54Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/kubernetes-incubator/service-catalog/pulls/1213","html_url":"https://github.com/kubernetes-incubator/service-catalog/pull/1213","diff_url":"https://github.com/kubernetes-incubator/service-catalog/pull/1213.diff","patch_url":"https://github.com/kubernetes-incubator/service-catalog/pull/1213.patch"},"body":"Closes #1149 \r\n\r\n* Adds CurrentOperation fields to ServiceInstanceStatus and ServiceInstanceCredentialStatus.\r\n* Adds an admission controller that blocks update requests to ServiceInstance and ServiceInstanceCredential when the DeletionTimestamp is not nil (indicating a delete in progress) or when Generation does not match ReconciledGeneration (indicating an update in progress).\r\n* Fails reconciliation when updating the status of the resource returns an error.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/kubernetes-incubator/service-catalog/issues/comments/331595103","html_url":"https://github.com/kubernetes-incubator/service-catalog/pull/1213#issuecomment-331595103","issue_url":"https://api.github.com/repos/kubernetes-incubator/service-catalog/issues/1213","id":331595103,"user":{"login":"staebler","id":30120115,"avatar_url":"https://avatars1.githubusercontent.com/u/30120115?v=4","gravatar_id":"","url":"https://api.github.com/users/staebler","html_url":"https://github.com/staebler","followers_url":"https://api.github.com/users/staebler/followers","following_url":"https://api.github.com/users/staebler/following{/other_user}","gists_url":"https://api.github.com/users/staebler/gists{/gist_id}","starred_url":"https://api.github.com/users/staebler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/staebler/subscriptions","organizations_url":"https://api.github.com/users/staebler/orgs","repos_url":"https://api.github.com/users/staebler/repos","events_url":"https://api.github.com/users/staebler/events{/privacy}","received_events_url":"https://api.github.com/users/staebler/received_events","type":"User","site_admin":false},"created_at":"2017-09-23T01:07:53Z","updated_at":"2017-09-23T01:07:53Z","author_association":"CONTRIBUTOR","body":"I have replaced the BlockConcurrentUpdates admission controller with code that blocks concurrent updates in the ServiceInstance and ServiceInstanceCredential validation functions. The code detects an in-progress spec change by comparing the Generation with the ReconciledGeneration and detects a requested spec change by comparing the old Generation to the new Generation."}}
{"actor":{"display_login":"staebler"}}