{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/7893","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/7893/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/7893/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/7893/events","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/7893","id":74004144,"number":7893,"title":"WIP: Security Policy","user":{"login":"pweil-","id":5230419,"avatar_url":"https://avatars.githubusercontent.com/u/5230419?v=3","gravatar_id":"","url":"https://api.github.com/users/pweil-","html_url":"https://github.com/pweil-","followers_url":"https://api.github.com/users/pweil-/followers","following_url":"https://api.github.com/users/pweil-/following{/other_user}","gists_url":"https://api.github.com/users/pweil-/gists{/gist_id}","starred_url":"https://api.github.com/users/pweil-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pweil-/subscriptions","organizations_url":"https://api.github.com/users/pweil-/orgs","repos_url":"https://api.github.com/users/pweil-/repos","events_url":"https://api.github.com/users/pweil-/events{/privacy}","received_events_url":"https://api.github.com/users/pweil-/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/cla:%20yes","name":"cla: yes","color":"ECF7EC"}],"state":"open","locked":false,"assignee":{"login":"erictune","id":8105590,"avatar_url":"https://avatars.githubusercontent.com/u/8105590?v=3","gravatar_id":"","url":"https://api.github.com/users/erictune","html_url":"https://github.com/erictune","followers_url":"https://api.github.com/users/erictune/followers","following_url":"https://api.github.com/users/erictune/following{/other_user}","gists_url":"https://api.github.com/users/erictune/gists{/gist_id}","starred_url":"https://api.github.com/users/erictune/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erictune/subscriptions","organizations_url":"https://api.github.com/users/erictune/orgs","repos_url":"https://api.github.com/users/erictune/repos","events_url":"https://api.github.com/users/erictune/events{/privacy}","received_events_url":"https://api.github.com/users/erictune/received_events","type":"User","site_admin":false},"milestone":null,"comments":21,"created_at":"2015-05-07T14:22:53Z","updated_at":"2015-05-19T02:56:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/7893","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/7893","diff_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/7893.diff","patch_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/7893.patch"},"body":"I'd like to get some feedback to lock down the interactions with how the service account defines and enforces policy which results in a security context on the pod.  This contains some types that @pmorie and I came up with that defines a `SecurityPolicy` object that can be configured with constraints as well as strategies to help enforce and create a security context.  \r\n\r\nThis PR is based on @liggitt 's service account PR, only the last commit contains new code.\r\n\r\n@smarterclayton @erictune @pmorie @liggitt - PTAL and see if this is the approach to move forward.  If this is ok then I'll update the design docs with use cases and types.\r\n\r\nedit: I've distilled this down to just the design to make it easier."},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/comments/103312038","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/7893#issuecomment-103312038","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/7893","id":103312038,"user":{"login":"liggitt","id":980082,"avatar_url":"https://avatars.githubusercontent.com/u/980082?v=3","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},"created_at":"2015-05-19T02:56:48Z","updated_at":"2015-05-19T02:56:48Z","body":">  It's basically an admin SCC with RunAsAny\r\n\r\nWhich makes sense, given where the static pods came from"}}