mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Add crds as CustomResourceDefinition shortname
This commit is contained in:
parent
9e2878d93c
commit
ba8488559d
@ -62,7 +62,7 @@ var _ rest.ShortNamesProvider = &REST{}
|
||||
|
||||
// ShortNames implements the ShortNamesProvider interface. Returns a list of short names for a resource.
|
||||
func (r *REST) ShortNames() []string {
|
||||
return []string{"crd"}
|
||||
return []string{"crd", "crds"}
|
||||
}
|
||||
|
||||
// Delete adds the CRD finalizer to the list
|
||||
|
Loading…
Reference in New Issue
Block a user