mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-14 14:23:37 +00:00
Adding clusters to the list of valid resources printed in kubectl help
This commit is contained in:
parent
1dfd6ab0c1
commit
0fcbde5ee1
@ -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 for federation apiservers)
|
||||
* componentstatuses (aka 'cs')
|
||||
* configmaps (aka 'cm')
|
||||
* daemonsets (aka 'ds')
|
||||
|
Loading…
Reference in New Issue
Block a user