{"action":"opened","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/48321","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/48321/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/48321/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/48321/events","html_url":"https://github.com/kubernetes/kubernetes/issues/48321","id":239686613,"number":48321,"title":"Namespaces selfLink is missing a path delimiter","user":{"login":"CallMeFoxie","id":5840290,"avatar_url":"https://avatars3.githubusercontent.com/u/5840290?v=3","gravatar_id":"","url":"https://api.github.com/users/CallMeFoxie","html_url":"https://github.com/CallMeFoxie","followers_url":"https://api.github.com/users/CallMeFoxie/followers","following_url":"https://api.github.com/users/CallMeFoxie/following{/other_user}","gists_url":"https://api.github.com/users/CallMeFoxie/gists{/gist_id}","starred_url":"https://api.github.com/users/CallMeFoxie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CallMeFoxie/subscriptions","organizations_url":"https://api.github.com/users/CallMeFoxie/orgs","repos_url":"https://api.github.com/users/CallMeFoxie/repos","events_url":"https://api.github.com/users/CallMeFoxie/events{/privacy}","received_events_url":"https://api.github.com/users/CallMeFoxie/received_events","type":"User","site_admin":false},"labels":[{"id":105146071,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/bug","name":"kind/bug","color":"e11d21","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-30T06:14:56Z","updated_at":"2017-06-30T06:14:56Z","closed_at":null,"body":"/kind bug\r\n\r\nHi, I think I've run into a wrong selfLink generator, kubernetes 1.6.4 and 1.6.6, did not test 1.7.0 yet.\r\n\r\n`curl -sS localhost:8080/api/v1/namespaces/default | jq .metadata.selfLink`\r\n\"/api/v1/namespacesdefault\"\r\n\r\nshould be /api/v1/namespaces/default\r\n\r\nWhole output:\r\n`{\r\n  \"kind\": \"Namespace\",\r\n  \"apiVersion\": \"v1\",\r\n  \"metadata\": {\r\n    \"name\": \"default\",\r\n    \"selfLink\": \"/api/v1/namespacesdefault\",\r\n    \"uid\": \"96bd5329-ee9c-11e6-b3a9-842b2bfe82f1\",\r\n    \"resourceVersion\": \"54\",\r\n    \"creationTimestamp\": \"2017-02-09T07:51:39Z\"\r\n  },\r\n  \"spec\": {\r\n    \"finalizers\": [\r\n      \"kubernetes\"\r\n    ]\r\n  },\r\n  \"status\": {\r\n    \"phase\": \"Active\"\r\n  }\r\n`\r\n\r\nSame goes for listing namespaces:\r\n`curl -sS localhost:8080/api/v1/namespaces | jq .items[1].metadata.selfLink`\r\n\"/api/v1/namespacesdefault\"\r\n\r\n\r\nDid not manage to find it in any other selfLinks. (Happens with any namespace listing, not just default.)\r\n\r\nCheers\r\nAshley"}}
{"actor":{"display_login":"CallMeFoxie"}}