{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/10540","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/10540/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/10540/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/10540/events","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/10540","id":92093488,"number":10540,"title":"Prevent backsteps in kubeconfig","user":{"login":"deads2k","id":8225098,"avatar_url":"https://avatars.githubusercontent.com/u/8225098?v=3","gravatar_id":"","url":"https://api.github.com/users/deads2k","html_url":"https://github.com/deads2k","followers_url":"https://api.github.com/users/deads2k/followers","following_url":"https://api.github.com/users/deads2k/following{/other_user}","gists_url":"https://api.github.com/users/deads2k/gists{/gist_id}","starred_url":"https://api.github.com/users/deads2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deads2k/subscriptions","organizations_url":"https://api.github.com/users/deads2k/orgs","repos_url":"https://api.github.com/users/deads2k/repos","events_url":"https://api.github.com/users/deads2k/events{/privacy}","received_events_url":"https://api.github.com/users/deads2k/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/cla:%20yes","name":"cla: yes","color":"bfe5bf"},{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/lgtm","name":"lgtm","color":"159818"},{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/needs-rebase","name":"needs-rebase","color":"BDBDBD"}],"state":"open","locked":false,"assignee":{"login":"jlowdermilk","id":2101035,"avatar_url":"https://avatars.githubusercontent.com/u/2101035?v=3","gravatar_id":"","url":"https://api.github.com/users/jlowdermilk","html_url":"https://github.com/jlowdermilk","followers_url":"https://api.github.com/users/jlowdermilk/followers","following_url":"https://api.github.com/users/jlowdermilk/following{/other_user}","gists_url":"https://api.github.com/users/jlowdermilk/gists{/gist_id}","starred_url":"https://api.github.com/users/jlowdermilk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlowdermilk/subscriptions","organizations_url":"https://api.github.com/users/jlowdermilk/orgs","repos_url":"https://api.github.com/users/jlowdermilk/repos","events_url":"https://api.github.com/users/jlowdermilk/events{/privacy}","received_events_url":"https://api.github.com/users/jlowdermilk/received_events","type":"User","site_admin":false},"milestone":null,"comments":13,"created_at":"2015-06-30T13:24:06Z","updated_at":"2015-07-30T17:53:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/10540","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/10540","diff_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/10540.diff","patch_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/10540.patch"},"body":"This prevents a kubeconfig from having relative paths to files that require backsteps by default.  It prevents things like:\r\n```\r\n- cluster:\r\n    certificate-authority: ../workspaces/openshift3/src/github.com/openshift/origin/openshift.local.config/master/ca.crt\r\n    server: https://localhost:8443\r\n  name: localhost:8443\r\n```\r\nby default.  If a relative path would require a backstep, it instead makes that path absolute.  This helps make directory copy behavior more predictable expected for users.\r\n\r\nIf a backstep relative path is truly needed (not likely), it is still possible using the `kubectl config set` command that does relativize the paths.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/comments/126417291","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/10540#issuecomment-126417291","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/10540","id":126417291,"user":{"login":"mikedanese","id":1787169,"avatar_url":"https://avatars.githubusercontent.com/u/1787169?v=3","gravatar_id":"","url":"https://api.github.com/users/mikedanese","html_url":"https://github.com/mikedanese","followers_url":"https://api.github.com/users/mikedanese/followers","following_url":"https://api.github.com/users/mikedanese/following{/other_user}","gists_url":"https://api.github.com/users/mikedanese/gists{/gist_id}","starred_url":"https://api.github.com/users/mikedanese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikedanese/subscriptions","organizations_url":"https://api.github.com/users/mikedanese/orgs","repos_url":"https://api.github.com/users/mikedanese/repos","events_url":"https://api.github.com/users/mikedanese/events{/privacy}","received_events_url":"https://api.github.com/users/mikedanese/received_events","type":"User","site_admin":false},"created_at":"2015-07-30T17:53:19Z","updated_at":"2015-07-30T17:53:19Z","body":"#12027. Sorry about that."}}