https://bugzilla.redhat.com/show_bug.cgi?id=1480766
Bug ID: 1480766 Summary: kubectl 1.7.3 bash completion has invalid options Product: Fedora Version: 26 Component: kubernetes Assignee: jchaloup@redhat.com Reporter: giovanni.tirloni@gmail.com QA Contact: extras-qa@fedoraproject.org CC: eparis@redhat.com, golang-updates@lists.fedoraproject.org, ichavero@redhat.com, jbrooks@redhat.com, jcajka@redhat.com, jchaloup@redhat.com, nhorman@redhat.com, tstclair@heptio.com, vbatts@redhat.com
Description of problem: kubectl bash completion has invalid options
Version-Release number of selected component (if applicable): kubernetes-client-1.6.7-1.fc26.x86_64
How reproducible: Always
Steps to Reproduce: 1. Type: kubectl get <tab> 2. See options available 3. Try `kubectl get status` or `kubectl get thirdpartyresourcedata` or `kubectl get cluster`
Actual results: Error message is displayed: the server doesn't have a resource type "status"
Expected results: These options are not available in completion options
Additional info: Tested against minikube 1.7.3