{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/15421","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/15421/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/15421/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/15421/events","html_url":"https://github.com/kubernetes/kubernetes/issues/15421","id":110759885,"number":15421,"title":"Support renaming clone in gitRepo volumes","user":{"login":"timstclair","id":3272040,"avatar_url":"https://avatars.githubusercontent.com/u/3272040?v=3","gravatar_id":"","url":"https://api.github.com/users/timstclair","html_url":"https://github.com/timstclair","followers_url":"https://api.github.com/users/timstclair/followers","following_url":"https://api.github.com/users/timstclair/following{/other_user}","gists_url":"https://api.github.com/users/timstclair/gists{/gist_id}","starred_url":"https://api.github.com/users/timstclair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timstclair/subscriptions","organizations_url":"https://api.github.com/users/timstclair/orgs","repos_url":"https://api.github.com/users/timstclair/repos","events_url":"https://api.github.com/users/timstclair/events{/privacy}","received_events_url":"https://api.github.com/users/timstclair/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/volumes","name":"area/volumes","color":"bfe5bf"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/priority/P3","name":"priority/P3","color":"fef2c0"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/team/cluster","name":"team/cluster","color":"d2b48c"}],"state":"open","locked":false,"assignee":{"login":"thockin","id":5595220,"avatar_url":"https://avatars.githubusercontent.com/u/5595220?v=3","gravatar_id":"","url":"https://api.github.com/users/thockin","html_url":"https://github.com/thockin","followers_url":"https://api.github.com/users/thockin/followers","following_url":"https://api.github.com/users/thockin/following{/other_user}","gists_url":"https://api.github.com/users/thockin/gists{/gist_id}","starred_url":"https://api.github.com/users/thockin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thockin/subscriptions","organizations_url":"https://api.github.com/users/thockin/orgs","repos_url":"https://api.github.com/users/thockin/repos","events_url":"https://api.github.com/users/thockin/events{/privacy}","received_events_url":"https://api.github.com/users/thockin/received_events","type":"User","site_admin":false},"milestone":null,"comments":18,"created_at":"2015-10-10T01:40:32Z","updated_at":"2015-10-16T00:13:09Z","closed_at":null,"body":"From [stackoverflow thread](http://stackoverflow.com/questions/33044198/naming-gitrepo-mount-path-in-kubernetes), a user would like to set the destination name of the cloned repository in a gitRepo volume.\r\n\r\n`git clone` supports supplying a destination name for a cloned repository, e.g. `git clone https://github.com/kubernetes/kubernetes.git k8s`, so I think it is reasonable for us to support the same."},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/148558677","html_url":"https://github.com/kubernetes/kubernetes/issues/15421#issuecomment-148558677","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/15421","id":148558677,"user":{"login":"thockin","id":5595220,"avatar_url":"https://avatars.githubusercontent.com/u/5595220?v=3","gravatar_id":"","url":"https://api.github.com/users/thockin","html_url":"https://github.com/thockin","followers_url":"https://api.github.com/users/thockin/followers","following_url":"https://api.github.com/users/thockin/following{/other_user}","gists_url":"https://api.github.com/users/thockin/gists{/gist_id}","starred_url":"https://api.github.com/users/thockin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thockin/subscriptions","organizations_url":"https://api.github.com/users/thockin/orgs","repos_url":"https://api.github.com/users/thockin/repos","events_url":"https://api.github.com/users/thockin/events{/privacy}","received_events_url":"https://api.github.com/users/thockin/received_events","type":"User","site_admin":false},"created_at":"2015-10-16T00:13:09Z","updated_at":"2015-10-16T00:13:09Z","body":"It's pretty half-baked, but it is the way we should be adding new\nfeatures.  It is more verbose but it is more extensible and manageable, and\noffers a way to evolve functionality.  For example, if someone wanted an\nsvnRepo or hgRepo volume plugin the answer is \"no\" :)\n\nhttps://github.com/kubernetes/contrib/tree/master/git-sync\n\nOn Thu, Oct 15, 2015 at 3:43 PM, Tim St. Clair <notifications@github.com>\nwrote:\n\n> @thockin <https://github.com/thockin> is that side-car checked into our\n> repo somewhere?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/kubernetes/kubernetes/issues/15421#issuecomment-148543938>\n> .\n>\n"}}