{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/66440","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/66440/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/66440/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/66440/events","html_url":"https://github.com/kubernetes/kubernetes/pull/66440","id":343051928,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyODA1OTI1","number":66440,"title":"Add --color option to kubectl cluster-info cmd","user":{"login":"hypnoglow","id":4853075,"node_id":"MDQ6VXNlcjQ4NTMwNzU=","avatar_url":"https://avatars1.githubusercontent.com/u/4853075?v=4","gravatar_id":"","url":"https://api.github.com/users/hypnoglow","html_url":"https://github.com/hypnoglow","followers_url":"https://api.github.com/users/hypnoglow/followers","following_url":"https://api.github.com/users/hypnoglow/following{/other_user}","gists_url":"https://api.github.com/users/hypnoglow/gists{/gist_id}","starred_url":"https://api.github.com/users/hypnoglow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hypnoglow/subscriptions","organizations_url":"https://api.github.com/users/hypnoglow/orgs","repos_url":"https://api.github.com/users/hypnoglow/repos","events_url":"https://api.github.com/users/hypnoglow/events{/privacy}","received_events_url":"https://api.github.com/users/hypnoglow/received_events","type":"User","site_admin":false},"labels":[{"id":138247961,"node_id":"MDU6TGFiZWwxMzgyNDc5NjE=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/kubectl","name":"area/kubectl","color":"0052cc","default":false},{"id":477397086,"node_id":"MDU6TGFiZWw0NzczOTcwODY=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cncf-cla:%20yes","name":"cncf-cla: yes","color":"bfe5bf","default":false},{"id":200149833,"node_id":"MDU6TGFiZWwyMDAxNDk4MzM=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/release-note","name":"release-note","color":"c2e0c6","default":false},{"id":450823910,"node_id":"MDU6TGFiZWw0NTA4MjM5MTA=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/cli","name":"sig/cli","color":"d2b48c","default":false},{"id":253450934,"node_id":"MDU6TGFiZWwyNTM0NTA5MzQ=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/size/M","name":"size/M","color":"eebb00","default":false}],"state":"open","locked":false,"assignee":{"login":"mengqiy","id":2589105,"node_id":"MDQ6VXNlcjI1ODkxMDU=","avatar_url":"https://avatars1.githubusercontent.com/u/2589105?v=4","gravatar_id":"","url":"https://api.github.com/users/mengqiy","html_url":"https://github.com/mengqiy","followers_url":"https://api.github.com/users/mengqiy/followers","following_url":"https://api.github.com/users/mengqiy/following{/other_user}","gists_url":"https://api.github.com/users/mengqiy/gists{/gist_id}","starred_url":"https://api.github.com/users/mengqiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mengqiy/subscriptions","organizations_url":"https://api.github.com/users/mengqiy/orgs","repos_url":"https://api.github.com/users/mengqiy/repos","events_url":"https://api.github.com/users/mengqiy/events{/privacy}","received_events_url":"https://api.github.com/users/mengqiy/received_events","type":"User","site_admin":false},"assignees":[{"login":"mengqiy","id":2589105,"node_id":"MDQ6VXNlcjI1ODkxMDU=","avatar_url":"https://avatars1.githubusercontent.com/u/2589105?v=4","gravatar_id":"","url":"https://api.github.com/users/mengqiy","html_url":"https://github.com/mengqiy","followers_url":"https://api.github.com/users/mengqiy/followers","following_url":"https://api.github.com/users/mengqiy/following{/other_user}","gists_url":"https://api.github.com/users/mengqiy/gists{/gist_id}","starred_url":"https://api.github.com/users/mengqiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mengqiy/subscriptions","organizations_url":"https://api.github.com/users/mengqiy/orgs","repos_url":"https://api.github.com/users/mengqiy/repos","events_url":"https://api.github.com/users/mengqiy/events{/privacy}","received_events_url":"https://api.github.com/users/mengqiy/received_events","type":"User","site_admin":false},{"login":"dixudx","id":5449021,"node_id":"MDQ6VXNlcjU0NDkwMjE=","avatar_url":"https://avatars3.githubusercontent.com/u/5449021?v=4","gravatar_id":"","url":"https://api.github.com/users/dixudx","html_url":"https://github.com/dixudx","followers_url":"https://api.github.com/users/dixudx/followers","following_url":"https://api.github.com/users/dixudx/following{/other_user}","gists_url":"https://api.github.com/users/dixudx/gists{/gist_id}","starred_url":"https://api.github.com/users/dixudx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dixudx/subscriptions","organizations_url":"https://api.github.com/users/dixudx/orgs","repos_url":"https://api.github.com/users/dixudx/repos","events_url":"https://api.github.com/users/dixudx/events{/privacy}","received_events_url":"https://api.github.com/users/dixudx/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2018-07-20T10:14:51Z","updated_at":"2018-10-14T19:46:21Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/66440","html_url":"https://github.com/kubernetes/kubernetes/pull/66440","diff_url":"https://github.com/kubernetes/kubernetes/pull/66440.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/66440.patch"},"body":"<!--  Thanks for sending a pull request!  Here are some tips for you:\r\n1. If this is your first time, read our contributor guidelines https://git.k8s.io/community/contributors/guide#your-first-contribution and developer guide https://git.k8s.io/community/contributors/devel/development.md#development-guide\r\n2. If you want *faster* PR reviews, read how: https://git.k8s.io/community/contributors/guide/pull-requests.md#best-practices-for-faster-reviews\r\n3. Follow the instructions for writing a release note: https://git.k8s.io/community/contributors/guide/release-notes.md\r\n4. If the PR is unfinished, see how to mark it: https://git.k8s.io/community/contributors/guide/pull-requests.md#marking-unfinished-pull-requests\r\n-->\r\n\r\n**What this PR does / why we need it**:\r\n\r\nCurrently, there is no way to disable colors in `kubectl cluster-info`\r\ncommand output. This commit adds a new flag `--color` that solves\r\nthis, thus you can do `kubectl cluster-info --color=false`.\r\n\r\n**Special notes for your reviewer**:\r\n\r\n**Release note**:\r\n<!--  Write your release note:\r\n1. Enter your extended release note in the below block. If the PR requires additional action from users switching to the new release, include the string \"action required\".\r\n2. If no release note is required, just write \"NONE\".\r\n-->\r\n```release-note\r\nAdd --color flag to kubectl cluster-info command\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/429656299","html_url":"https://github.com/kubernetes/kubernetes/pull/66440#issuecomment-429656299","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/66440","id":429656299,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTY1NjI5OQ==","user":{"login":"hypnoglow","id":4853075,"node_id":"MDQ6VXNlcjQ4NTMwNzU=","avatar_url":"https://avatars1.githubusercontent.com/u/4853075?v=4","gravatar_id":"","url":"https://api.github.com/users/hypnoglow","html_url":"https://github.com/hypnoglow","followers_url":"https://api.github.com/users/hypnoglow/followers","following_url":"https://api.github.com/users/hypnoglow/following{/other_user}","gists_url":"https://api.github.com/users/hypnoglow/gists{/gist_id}","starred_url":"https://api.github.com/users/hypnoglow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hypnoglow/subscriptions","organizations_url":"https://api.github.com/users/hypnoglow/orgs","repos_url":"https://api.github.com/users/hypnoglow/repos","events_url":"https://api.github.com/users/hypnoglow/events{/privacy}","received_events_url":"https://api.github.com/users/hypnoglow/received_events","type":"User","site_admin":false},"created_at":"2018-10-14T19:46:21Z","updated_at":"2018-10-14T19:46:21Z","author_association":"NONE","body":"Rebased, as it was a bit stale"}}
{"actor":{"display_login":"hypnoglow"}}