Update list of resources for 'kubectl get' help output.
This commit is contained in:
@@ -103,16 +103,21 @@ func RunGet(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string
|
||||
if len(args) == 0 {
|
||||
fmt.Fprint(out, `
|
||||
You must specify the type of resource to get. Valid resource types include:
|
||||
* pods (aka 'po')
|
||||
* replicationcontrollers (aka 'rc')
|
||||
* services
|
||||
* nodes (aka 'no')
|
||||
* componentStatuses (aka 'cs')
|
||||
* endpoints (aka 'ep')
|
||||
* events (aka 'ev')
|
||||
* secrets
|
||||
* limits
|
||||
* persistentVolumes (aka 'pv')
|
||||
* namespaces
|
||||
* nodes (aka 'no')
|
||||
* persistentVolumeClaims (aka 'pvc')
|
||||
* persistentVolumes (aka 'pv')
|
||||
* pods (aka 'po')
|
||||
* podTemplates
|
||||
* quota
|
||||
* replicationcontrollers (aka 'rc')
|
||||
* secrets
|
||||
* serviceAccounts
|
||||
* services
|
||||
`)
|
||||
return errors.New("Required resource not specified.")
|
||||
}
|
||||
|
Reference in New Issue
Block a user