Fix hits in help strings of kubectl get command
Removed duplicated 'nodes (no)', added 'secret' for resource type. Use actual long resource name to avoid confusion.
This commit is contained in:
@@ -42,10 +42,10 @@ $ kubectl describe RESOURCE NAME_PREFIX
|
||||
will first check for an exact match on RESOURCE and NAME_PREFIX. If no such resource
|
||||
exists, it will output details for every resource that has a name prefixed with NAME_PREFIX
|
||||
|
||||
Possible resources include pods (po), replicationcontrollers (rc), services
|
||||
(svc), nodes (no), events (ev), componentstatuses (cs), limitRanges (limits),
|
||||
persistentVolumes (pv), persistentVolumeClaims (pvc), resourceQuotas (quota)
|
||||
or secrets.`
|
||||
Possible resources include (case insensitive): pods (po), services (svc),
|
||||
replicationcontrollers (rc), nodes (no), events (ev), componentstatuses (cs),
|
||||
limitranges (limits), persistentvolumes (pv), persistentvolumeclaims (pvc),
|
||||
resourcequotas (quota) or secrets.`
|
||||
describe_example = `// Describe a node
|
||||
$ kubectl describe nodes kubernetes-minion-emt8.c.myproject.internal
|
||||
|
||||
|
@@ -32,10 +32,10 @@ import (
|
||||
const (
|
||||
get_long = `Display one or many resources.
|
||||
|
||||
Possible resources include pods (po), replication controllers (rc), services
|
||||
(svc), nodes, events (ev), component statuses (cs), limit ranges (limits),
|
||||
nodes (no), persistent volumes (pv), persistent volume claims (pvc)
|
||||
or resource quotas (quota).
|
||||
Possible resources include (case insensitive): pods (po), services (svc),
|
||||
replicationcontrollers (rc), nodes (no), events (ev), componentstatuses (cs),
|
||||
limitranges (limits), persistentvolumes (pv), persistentvolumeclaims (pvc),
|
||||
resourcequotas (quota) or secrets.
|
||||
|
||||
By specifying the output as 'template' and providing a Go template as the value
|
||||
of the --template flag, you can filter the attributes of the fetched resource(s).`
|
||||
|
Reference in New Issue
Block a user