Skip to content

Commit

Permalink
Adding clusters to the list of valid resources printed in kubectl help
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhiljindal committed Aug 30, 2016
1 parent 1dfd6ab commit 0a55b6f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/kubectl/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,9 @@ __custom_func() {

// If you add a resource to this list, please also take a look at pkg/kubectl/kubectl.go
// and add a short forms entry in expandResourceShortcut() when appropriate.
// TODO: This should be populated using the discovery information from apiserver.
valid_resources = `Valid resource types include:
* clusters (valid only when talking to federation apiserver)
* componentstatuses (aka 'cs')
* configmaps (aka 'cm')
* daemonsets (aka 'ds')
Expand Down

0 comments on commit 0a55b6f

Please sign in to comment.