{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/34518","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/34518/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/34518/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/34518/events","html_url":"https://github.com/kubernetes/kubernetes/pull/34518","id":182155048,"number":34518,"title":"Fix #34345","user":{"login":"PhilibertDugas","id":5460957,"avatar_url":"https://avatars.githubusercontent.com/u/5460957?v=3","gravatar_id":"","url":"https://api.github.com/users/PhilibertDugas","html_url":"https://github.com/PhilibertDugas","followers_url":"https://api.github.com/users/PhilibertDugas/followers","following_url":"https://api.github.com/users/PhilibertDugas/following{/other_user}","gists_url":"https://api.github.com/users/PhilibertDugas/gists{/gist_id}","starred_url":"https://api.github.com/users/PhilibertDugas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhilibertDugas/subscriptions","organizations_url":"https://api.github.com/users/PhilibertDugas/orgs","repos_url":"https://api.github.com/users/PhilibertDugas/repos","events_url":"https://api.github.com/users/PhilibertDugas/events{/privacy}","received_events_url":"https://api.github.com/users/PhilibertDugas/received_events","type":"User","site_admin":false},"labels":[{"id":176978828,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cla:%20yes","name":"cla: yes","color":"bfe5bf","default":false},{"id":349530192,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/release-note-label-needed","name":"release-note-label-needed","color":"db5a64","default":false},{"id":253450934,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/size/M","name":"size/M","color":"eebb00","default":false}],"state":"open","locked":false,"assignee":{"login":"AdoHe","id":1555564,"avatar_url":"https://avatars.githubusercontent.com/u/1555564?v=3","gravatar_id":"","url":"https://api.github.com/users/AdoHe","html_url":"https://github.com/AdoHe","followers_url":"https://api.github.com/users/AdoHe/followers","following_url":"https://api.github.com/users/AdoHe/following{/other_user}","gists_url":"https://api.github.com/users/AdoHe/gists{/gist_id}","starred_url":"https://api.github.com/users/AdoHe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdoHe/subscriptions","organizations_url":"https://api.github.com/users/AdoHe/orgs","repos_url":"https://api.github.com/users/AdoHe/repos","events_url":"https://api.github.com/users/AdoHe/events{/privacy}","received_events_url":"https://api.github.com/users/AdoHe/received_events","type":"User","site_admin":false},"assignees":[{"login":"AdoHe","id":1555564,"avatar_url":"https://avatars.githubusercontent.com/u/1555564?v=3","gravatar_id":"","url":"https://api.github.com/users/AdoHe","html_url":"https://github.com/AdoHe","followers_url":"https://api.github.com/users/AdoHe/followers","following_url":"https://api.github.com/users/AdoHe/following{/other_user}","gists_url":"https://api.github.com/users/AdoHe/gists{/gist_id}","starred_url":"https://api.github.com/users/AdoHe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdoHe/subscriptions","organizations_url":"https://api.github.com/users/AdoHe/orgs","repos_url":"https://api.github.com/users/AdoHe/repos","events_url":"https://api.github.com/users/AdoHe/events{/privacy}","received_events_url":"https://api.github.com/users/AdoHe/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2016-10-11T01:52:22Z","updated_at":"2016-11-23T02:12:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/34518","html_url":"https://github.com/kubernetes/kubernetes/pull/34518","diff_url":"https://github.com/kubernetes/kubernetes/pull/34518.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/34518.patch"},"body":"<!--  Thanks for sending a pull request!  Here are some tips for you:\n1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md\n2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md\n3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes\n-->\n\n**What this PR does / why we need it**:\nWhen running the `kubectl create -f -` command, the Ctrl + D command is not behaving correctly. The EOF character was required twice in order to exit the stdin stream. This is only true when it's an interactive TTY however and not when data is piped in.\n\nWorking correctly:\n`echo \"test: 'yaml'\" | kubectl create -f -`\n\nNot working correctly:\n`kubectl create -f -`\n\nThe issue was also only for the YAML documents, JSON documents are behaving correctly even in a TTY session.\n\nMore details can be found here: https://github.com/kubernetes/kubernetes/issues/34345#issuecomment-252455533\n\n**Which issue this PR fixes** : fixes #34345\n\n**Release note**: `NONE`\n\n<!--  Steps to write your release note:\n1. Use the release-note-* labels to set the release note state (if you have access) \n2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. \n-->\n\n<!-- Reviewable:start -->\n\n---\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/34518)\n\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/262420123","html_url":"https://github.com/kubernetes/kubernetes/pull/34518#issuecomment-262420123","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/34518","id":262420123,"user":{"login":"PhilibertDugas","id":5460957,"avatar_url":"https://avatars.githubusercontent.com/u/5460957?v=3","gravatar_id":"","url":"https://api.github.com/users/PhilibertDugas","html_url":"https://github.com/PhilibertDugas","followers_url":"https://api.github.com/users/PhilibertDugas/followers","following_url":"https://api.github.com/users/PhilibertDugas/following{/other_user}","gists_url":"https://api.github.com/users/PhilibertDugas/gists{/gist_id}","starred_url":"https://api.github.com/users/PhilibertDugas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhilibertDugas/subscriptions","organizations_url":"https://api.github.com/users/PhilibertDugas/orgs","repos_url":"https://api.github.com/users/PhilibertDugas/repos","events_url":"https://api.github.com/users/PhilibertDugas/events{/privacy}","received_events_url":"https://api.github.com/users/PhilibertDugas/received_events","type":"User","site_admin":false},"created_at":"2016-11-23T02:12:32Z","updated_at":"2016-11-23T02:12:32Z","body":"@cmluciano I didn't have time to work on it 😞 Feel free to take it over or open something else 😸"}}
{"actor":{"display_login":"PhilibertDugas"}}