We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 810181f commit 5ac372dCopy full SHA for 5ac372d
1 file changed
pkg/kubectl/kubectl.go
@@ -88,20 +88,20 @@ func expandResourceShortcut(resource string) string {
88
shortForms := map[string]string{
89
// Please keep this alphabetized
90
"cs": "componentstatuses",
91
- "ev": "events",
+ "ds": "daemonsets",
92
"ep": "endpoints",
93
+ "ev": "events",
94
"hpa": "horizontalpodautoscalers",
95
+ "ing": "ingresses",
96
"limits": "limitranges",
97
"no": "nodes",
98
"ns": "namespaces",
99
"po": "pods",
- "pv": "persistentvolumes",
100
"pvc": "persistentvolumeclaims",
101
+ "pv": "persistentvolumes",
102
"quota": "resourcequotas",
103
"rc": "replicationcontrollers",
- "ds": "daemonsets",
104
"svc": "services",
- "ing": "ingresses",
105
}
106
if expanded, ok := shortForms[resource]; ok {
107
return expanded
0 commit comments