{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/65579","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/65579/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/65579/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/65579/events","html_url":"https://github.com/kubernetes/kubernetes/issues/65579","id":336573525,"node_id":"MDU6SXNzdWUzMzY1NzM1MjU=","number":65579,"title":"kubectl 1.11.0 unable to print resources with OpenAPI custom columns","user":{"login":"rfranzke","id":19169361,"node_id":"MDQ6VXNlcjE5MTY5MzYx","avatar_url":"https://avatars1.githubusercontent.com/u/19169361?v=4","gravatar_id":"","url":"https://api.github.com/users/rfranzke","html_url":"https://github.com/rfranzke","followers_url":"https://api.github.com/users/rfranzke/followers","following_url":"https://api.github.com/users/rfranzke/following{/other_user}","gists_url":"https://api.github.com/users/rfranzke/gists{/gist_id}","starred_url":"https://api.github.com/users/rfranzke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfranzke/subscriptions","organizations_url":"https://api.github.com/users/rfranzke/orgs","repos_url":"https://api.github.com/users/rfranzke/repos","events_url":"https://api.github.com/users/rfranzke/events{/privacy}","received_events_url":"https://api.github.com/users/rfranzke/received_events","type":"User","site_admin":false},"labels":[{"id":105146071,"node_id":"MDU6TGFiZWwxMDUxNDYwNzE=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/bug","name":"kind/bug","color":"e11d21","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}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-28T11:00:15Z","updated_at":"2018-06-28T23:33:58Z","closed_at":null,"author_association":"NONE","body":"/kind bug\r\n/sig cli\r\n\r\n**What happened**:\r\nkubectl 1.11.0 defaults `--use-openapi-print-columns` to `false` (see #65578), hence, you need to explicitly specify it for each and every single `kubectl get` request for a resource managed by an aggregated API server. However, it is even not able to print those resources properly (which was possible before with versions <= 1.10.5):\r\n\r\n```bash\r\n$ kubectl version\r\nClient Version: version.Info{Major:\"1\", Minor:\"10\", GitVersion:\"v1.10.5\", GitCommit:\"32ac1c9073b132b8ba18aa830f46b77dcceb0723\", GitTreeState:\"clean\", BuildDate:\"2018-06-22T05:40:33Z\", GoVersion:\"go1.9.7\", Compiler:\"gc\", Platform:\"darwin/amd64\"}\r\n\r\n$ kubectl get shoot\r\nNAMESPACE   NAME      SEED   DOMAIN              VERSION   CONTROL   NODES     SYSTEM    LATEST\r\ncore        test1     aws    test.example.com    1.10.5    True      True      True      Succeeded\r\n```\r\n\r\nand\r\n\r\n```bash\r\n$ kubectl version\r\nClient Version: version.Info{Major:\"1\", Minor:\"11\", GitVersion:\"v1.11.0\", GitCommit:\"91e7b4fd31fcd3d5f436da26c980becec37ceefe\", GitTreeState:\"clean\", BuildDate:\"2018-06-27T22:29:25Z\", GoVersion:\"go1.10.3\", Compiler:\"gc\", Platform:\"darwin/amd64\"}\r\n\r\n$ kubectl get shoot\r\nNAME     CREATED AT\r\ntest1    2018-02-27T06:56:29Z\r\n\r\n$ kubectl get shoot --use-openapi-print-columns\r\nNAMESPACE   NAME      SEED      DOMAIN    VERSION   CONTROL   NODES     SYSTEM    LATEST\r\n<none>      <none>    <none>    <none>    <none>    <none>    <none>    <none>    <none>\r\n```\r\n\r\n**What you expected to happen**:\r\nProperly printed and well-formatted output of `kubectl get shoot --use-openapi-print-columns`. (Actually, I do not want to specify `--use-openapi-print-columns` but this is what #65578 is for).\r\n\r\n**Environment**:\r\n- Kubernetes version (use `kubectl version`):\r\n```bash\r\nClient Version: version.Info{Major:\"1\", Minor:\"11\", GitVersion:\"v1.11.0\", GitCommit:\"91e7b4fd31fcd3d5f436da26c980becec37ceefe\", GitTreeState:\"clean\", BuildDate:\"2018-06-27T22:29:25Z\", GoVersion:\"go1.10.3\", Compiler:\"gc\", Platform:\"darwin/amd64\"}\r\n```\r\n- Kernel (e.g. `uname -a`): MacOS\r\n- Install tools: Brew"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/401203856","html_url":"https://github.com/kubernetes/kubernetes/issues/65579#issuecomment-401203856","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/65579","id":401203856,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTIwMzg1Ng==","user":{"login":"liggitt","id":980082,"node_id":"MDQ6VXNlcjk4MDA4Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/980082?v=4","gravatar_id":"","url":"https://api.github.com/users/liggitt","html_url":"https://github.com/liggitt","followers_url":"https://api.github.com/users/liggitt/followers","following_url":"https://api.github.com/users/liggitt/following{/other_user}","gists_url":"https://api.github.com/users/liggitt/gists{/gist_id}","starred_url":"https://api.github.com/users/liggitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liggitt/subscriptions","organizations_url":"https://api.github.com/users/liggitt/orgs","repos_url":"https://api.github.com/users/liggitt/repos","events_url":"https://api.github.com/users/liggitt/events{/privacy}","received_events_url":"https://api.github.com/users/liggitt/received_events","type":"User","site_admin":false},"created_at":"2018-06-28T23:33:58Z","updated_at":"2018-06-28T23:33:58Z","author_association":"MEMBER","body":"fixed in #65600"}}
{"actor":{"display_login":"liggitt"}}