{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/20176","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/20176/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/20176/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/20176/events","html_url":"https://github.com/kubernetes/kubernetes/issues/20176","id":128966895,"number":20176,"title":"kubectl create secret tls","user":{"login":"bprashanth","id":10927820,"avatar_url":"https://avatars.githubusercontent.com/u/10927820?v=3","gravatar_id":"","url":"https://api.github.com/users/bprashanth","html_url":"https://github.com/bprashanth","followers_url":"https://api.github.com/users/bprashanth/followers","following_url":"https://api.github.com/users/bprashanth/following{/other_user}","gists_url":"https://api.github.com/users/bprashanth/gists{/gist_id}","starred_url":"https://api.github.com/users/bprashanth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bprashanth/subscriptions","organizations_url":"https://api.github.com/users/bprashanth/orgs","repos_url":"https://api.github.com/users/bprashanth/repos","events_url":"https://api.github.com/users/bprashanth/events{/privacy}","received_events_url":"https://api.github.com/users/bprashanth/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/component/kubectl","name":"component/kubectl","color":"0052cc"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/help-wanted","name":"help-wanted","color":"006b75"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/priority/P2","name":"priority/P2","color":"fbca04"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/team/cluster","name":"team/cluster","color":"d2b48c"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/team/ux","name":"team/ux","color":"d2b48c"}],"state":"closed","locked":false,"assignee":{"login":"bprashanth","id":10927820,"avatar_url":"https://avatars.githubusercontent.com/u/10927820?v=3","gravatar_id":"","url":"https://api.github.com/users/bprashanth","html_url":"https://github.com/bprashanth","followers_url":"https://api.github.com/users/bprashanth/followers","following_url":"https://api.github.com/users/bprashanth/following{/other_user}","gists_url":"https://api.github.com/users/bprashanth/gists{/gist_id}","starred_url":"https://api.github.com/users/bprashanth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bprashanth/subscriptions","organizations_url":"https://api.github.com/users/bprashanth/orgs","repos_url":"https://api.github.com/users/bprashanth/repos","events_url":"https://api.github.com/users/bprashanth/events{/privacy}","received_events_url":"https://api.github.com/users/bprashanth/received_events","type":"User","site_admin":false},"milestone":null,"comments":14,"created_at":"2016-01-26T22:42:28Z","updated_at":"2016-06-03T20:31:15Z","closed_at":"2016-06-03T19:34:32Z","body":"Since we're getting basic tls support in ingress (https://github.com/kubernetes/kubernetes/issues/19497), it would be nice if kubectl created the right secret for you given a key/cert pair. Additionally it could verify that the key and cert match, and warn if there are missing intermediate certificates. I imagine this would work something like: \r\n`kubectl create secret tls NAME --key=path to private key --cert=path to cert`\r\n- LoadX509KeyPair\r\n- verify chain, or warn about self signed certs?\r\n- create secret with type=tls\r\n\r\nWe could also probably warn about hostname mismatch, but that's hard to do without the context of the ingress. "},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/223686912","html_url":"https://github.com/kubernetes/kubernetes/issues/20176#issuecomment-223686912","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/20176","id":223686912,"user":{"login":"bprashanth","id":10927820,"avatar_url":"https://avatars.githubusercontent.com/u/10927820?v=3","gravatar_id":"","url":"https://api.github.com/users/bprashanth","html_url":"https://github.com/bprashanth","followers_url":"https://api.github.com/users/bprashanth/followers","following_url":"https://api.github.com/users/bprashanth/following{/other_user}","gists_url":"https://api.github.com/users/bprashanth/gists{/gist_id}","starred_url":"https://api.github.com/users/bprashanth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bprashanth/subscriptions","organizations_url":"https://api.github.com/users/bprashanth/orgs","repos_url":"https://api.github.com/users/bprashanth/repos","events_url":"https://api.github.com/users/bprashanth/events{/privacy}","received_events_url":"https://api.github.com/users/bprashanth/received_events","type":"User","site_admin":false},"created_at":"2016-06-03T20:31:15Z","updated_at":"2016-06-03T20:31:15Z","body":"@pires yet unfiled, need to think through the features we need to add now that the basic stuff is in. \r\nis there something you want specifically captured in create secret?"}}
{"actor":{"display_login":"bprashanth"}}