{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/30694","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/30694/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/30694/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/30694/events","html_url":"https://github.com/kubernetes/kubernetes/pull/30694","id":171467966,"number":30694,"title":"storage: pass fieldRefs to flexstorage volume plugin","user":{"login":"kayrus","id":4047483,"avatar_url":"https://avatars.githubusercontent.com/u/4047483?v=3","gravatar_id":"","url":"https://api.github.com/users/kayrus","html_url":"https://github.com/kayrus","followers_url":"https://api.github.com/users/kayrus/followers","following_url":"https://api.github.com/users/kayrus/following{/other_user}","gists_url":"https://api.github.com/users/kayrus/gists{/gist_id}","starred_url":"https://api.github.com/users/kayrus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kayrus/subscriptions","organizations_url":"https://api.github.com/users/kayrus/orgs","repos_url":"https://api.github.com/users/kayrus/repos","events_url":"https://api.github.com/users/kayrus/events{/privacy}","received_events_url":"https://api.github.com/users/kayrus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cla:%20yes","name":"cla: yes","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-16T17:07:32Z","updated_at":"2016-08-16T17:09:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/30694","html_url":"https://github.com/kubernetes/kubernetes/pull/30694","diff_url":"https://github.com/kubernetes/kubernetes/pull/30694.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/30694.patch"},"body":"This pull request implements passing pod info into the FlexVolume plugin. This PR is useful when you use petsets and pod (which was generated by petst) info should be passed to the flexvolue plugin to determine which pod of the petset asked for the storage.\r\n\r\nExample usage:\r\n\r\n```yaml\r\n        - name: petset-ssh-volume\r\n          flexVolume:\r\n            driver: \"my/sshfs\"\r\n            optionsItems:\r\n              - name: podName\r\n                fieldRef:\r\n                  fieldPath: metadata.name\r\n            secretRef:\r\n              name: \"my-secret\"\r\n```\r\n\r\nkubelet should execute `my/sshfs` binary with the following json in arguments:\r\n\r\n```sh\r\nattach {\"kubernetes.io/fsType\":\"\",\"kubernetes.io/item/podName\":\"mypod-0\",\"kubernetes.io/readwrite\":\"rw\",\"kubernetes.io/secret/my-secret\":\"%data%\"}\r\n```\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.kubernetes.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/30694)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/240169876","html_url":"https://github.com/kubernetes/kubernetes/pull/30694#issuecomment-240169876","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/30694","id":240169876,"user":{"login":"k8s-bot","id":12551979,"avatar_url":"https://avatars.githubusercontent.com/u/12551979?v=3","gravatar_id":"","url":"https://api.github.com/users/k8s-bot","html_url":"https://github.com/k8s-bot","followers_url":"https://api.github.com/users/k8s-bot/followers","following_url":"https://api.github.com/users/k8s-bot/following{/other_user}","gists_url":"https://api.github.com/users/k8s-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/k8s-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k8s-bot/subscriptions","organizations_url":"https://api.github.com/users/k8s-bot/orgs","repos_url":"https://api.github.com/users/k8s-bot/repos","events_url":"https://api.github.com/users/k8s-bot/events{/privacy}","received_events_url":"https://api.github.com/users/k8s-bot/received_events","type":"User","site_admin":false},"created_at":"2016-08-16T17:09:11Z","updated_at":"2016-08-16T17:09:11Z","body":"Can one of the admins verify that this patch is reasonable to test? If so, please reply \"ok to test\".\n(Note: \"add to whitelist\" is no longer supported. Please update configurations in [kubernetes/test-infra/jenkins/job-configs/kubernetes-jenkins-pull](https://github.com/kubernetes/test-infra/tree/master/jenkins/job-configs/kubernetes-jenkins-pull) instead.)\n\nThis message may repeat a few times in short succession due to https://github.com/jenkinsci/ghprb-plugin/issues/292. Sorry.\n\nOtherwise, if this message is too spammy, please complain to ixdy."}}
{"actor":{"display_login":"k8s-bot"}}