{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/18885","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/18885/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/18885/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/18885/events","html_url":"https://github.com/kubernetes/kubernetes/issues/18885","id":122908600,"number":18885,"title":"field keyring   must be set  when I create PV in kubernetes v.1.1??","user":{"login":"jaywayjayway","id":5195170,"avatar_url":"https://avatars.githubusercontent.com/u/5195170?v=3","gravatar_id":"","url":"https://api.github.com/users/jaywayjayway","html_url":"https://github.com/jaywayjayway","followers_url":"https://api.github.com/users/jaywayjayway/followers","following_url":"https://api.github.com/users/jaywayjayway/following{/other_user}","gists_url":"https://api.github.com/users/jaywayjayway/gists{/gist_id}","starred_url":"https://api.github.com/users/jaywayjayway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaywayjayway/subscriptions","organizations_url":"https://api.github.com/users/jaywayjayway/orgs","repos_url":"https://api.github.com/users/jaywayjayway/repos","events_url":"https://api.github.com/users/jaywayjayway/events{/privacy}","received_events_url":"https://api.github.com/users/jaywayjayway/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/storage","name":"area/storage","color":"006b75"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/bug","name":"kind/bug","color":"e11d21"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/priority/P1","name":"priority/P1","color":"eb6420"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/team/cluster","name":"team/cluster","color":"d2b48c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-12-18T09:06:12Z","updated_at":"2016-05-11T07:31:49Z","closed_at":null,"body":"v.1.1,when I create PV(Ceph  backend) , it told me that   field keyring is required.\r\n\r\n```\r\napiVersion: v1\r\nkind: PersistentVolume\r\nmetadata:\r\n  name: test-volume1\r\n  namespace: 4bdd206a12004dcfa95085f60387daa8\r\nspec:\r\n  capacity:\r\n    storage: 10Gi\r\n  accessModes:\r\n  - ReadWriteMany\r\n  rbd:\r\n    monitors:\r\n    - 10.10.0.1:6789\r\n    pool: rbd\r\n    image: volume-1\r\n    user: admin\r\n    secretRef:\r\n      name: ceph-test-keyring   \r\n    fsType: ext4\r\n```\r\nbefore v1.1,it worked well with  ` secretRef`. \r\n\r\n## Now , field `keyring ` must be set ???"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/218383517","html_url":"https://github.com/kubernetes/kubernetes/issues/18885#issuecomment-218383517","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/18885","id":218383517,"user":{"login":"bgrant0607","id":7725777,"avatar_url":"https://avatars.githubusercontent.com/u/7725777?v=3","gravatar_id":"","url":"https://api.github.com/users/bgrant0607","html_url":"https://github.com/bgrant0607","followers_url":"https://api.github.com/users/bgrant0607/followers","following_url":"https://api.github.com/users/bgrant0607/following{/other_user}","gists_url":"https://api.github.com/users/bgrant0607/gists{/gist_id}","starred_url":"https://api.github.com/users/bgrant0607/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgrant0607/subscriptions","organizations_url":"https://api.github.com/users/bgrant0607/orgs","repos_url":"https://api.github.com/users/bgrant0607/repos","events_url":"https://api.github.com/users/bgrant0607/events{/privacy}","received_events_url":"https://api.github.com/users/bgrant0607/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T07:31:49Z","updated_at":"2016-05-11T07:31:49Z","body":"AFAICT, every field that says \"default\" in RBDVolumeSource is wrong:\r\n* RBDPool\r\n* RadosUser\r\n* Keyring\r\n* SecretRef\r\n* ReadOnly\r\n\r\nFSType was \"fixed\" by #19921, but still contradicts conventions by not setting the default explicitly."}}