{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/38192","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/38192/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/38192/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/38192/events","html_url":"https://github.com/kubernetes/kubernetes/issues/38192","id":193777451,"number":38192,"title":"Allow configuration of reclaim policy in StorageClass","user":{"login":"jsafrane","id":1745006,"avatar_url":"https://avatars.githubusercontent.com/u/1745006?v=3","gravatar_id":"","url":"https://api.github.com/users/jsafrane","html_url":"https://github.com/jsafrane","followers_url":"https://api.github.com/users/jsafrane/followers","following_url":"https://api.github.com/users/jsafrane/following{/other_user}","gists_url":"https://api.github.com/users/jsafrane/gists{/gist_id}","starred_url":"https://api.github.com/users/jsafrane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsafrane/subscriptions","organizations_url":"https://api.github.com/users/jsafrane/orgs","repos_url":"https://api.github.com/users/jsafrane/repos","events_url":"https://api.github.com/users/jsafrane/events{/privacy}","received_events_url":"https://api.github.com/users/jsafrane/received_events","type":"User","site_admin":false},"labels":[{"id":169428334,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/storage","name":"sig/storage","color":"d2b48c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-12-06T13:52:31Z","updated_at":"2017-01-13T07:40:49Z","closed_at":null,"body":"Use case: as Kubernetes admin I want to define a StorageClass that provisions PVs with `PersistentVolumeReclaimPolicy = \"Retain\"` so users don't loose their data when they accidentally delete their PVCs.\r\n\r\n**API changes:**\r\n\r\n* Either \"magic\" annotation `kubernetes.io/reclaim-policy: Retain`\r\n* Or a new StorageClass field `sc.PersistentVolumeReclaimPolicy: Retain`\r\n\r\n**Requested actions:**\r\n\r\n* Update the API.\r\n* Update internal provisioning logic to respect this new annotation/field.\r\n* Update docs.\r\n* Announce that external provisioners need to respect this new annotation/field.\r\n\r\nAll these items are fairly easy if we agree on the design.\r\n\r\n@kubernetes/sig-storage "},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/272380431","html_url":"https://github.com/kubernetes/kubernetes/issues/38192#issuecomment-272380431","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/38192","id":272380431,"user":{"login":"humblec","id":5001742,"avatar_url":"https://avatars.githubusercontent.com/u/5001742?v=3","gravatar_id":"","url":"https://api.github.com/users/humblec","html_url":"https://github.com/humblec","followers_url":"https://api.github.com/users/humblec/followers","following_url":"https://api.github.com/users/humblec/following{/other_user}","gists_url":"https://api.github.com/users/humblec/gists{/gist_id}","starred_url":"https://api.github.com/users/humblec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/humblec/subscriptions","organizations_url":"https://api.github.com/users/humblec/orgs","repos_url":"https://api.github.com/users/humblec/repos","events_url":"https://api.github.com/users/humblec/events{/privacy}","received_events_url":"https://api.github.com/users/humblec/received_events","type":"User","site_admin":false},"created_at":"2017-01-13T07:40:49Z","updated_at":"2017-01-13T07:40:49Z","body":"+1. If we are placing this in 'SC', is it going to be a mandatory  or optional field ?  If optional, is it the plan to make 'delete' as default value ?"}}
{"actor":{"display_login":"humblec"}}