mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 04:06:03 +00:00
Merge pull request #18268 from tmrts/sort/constants
Auto commit by PR queue bot
This commit is contained in:
commit
f525c2e587
@ -98,20 +98,20 @@ func expandResourceShortcut(resource string) string {
|
||||
shortForms := map[string]string{
|
||||
// Please keep this alphabetized
|
||||
"cs": "componentstatuses",
|
||||
"ev": "events",
|
||||
"ds": "daemonsets",
|
||||
"ep": "endpoints",
|
||||
"ev": "events",
|
||||
"hpa": "horizontalpodautoscalers",
|
||||
"ing": "ingresses",
|
||||
"limits": "limitranges",
|
||||
"no": "nodes",
|
||||
"ns": "namespaces",
|
||||
"po": "pods",
|
||||
"pv": "persistentvolumes",
|
||||
"pvc": "persistentvolumeclaims",
|
||||
"pv": "persistentvolumes",
|
||||
"quota": "resourcequotas",
|
||||
"rc": "replicationcontrollers",
|
||||
"ds": "daemonsets",
|
||||
"svc": "services",
|
||||
"ing": "ingresses",
|
||||
}
|
||||
if expanded, ok := shortForms[resource]; ok {
|
||||
return expanded
|
||||
|
Loading…
Reference in New Issue
Block a user