Add crds as CustomResourceDefinition shortname
This commit is contained in:
@@ -62,7 +62,7 @@ var _ rest.ShortNamesProvider = &REST{}
|
|||||||
|
|
||||||
// ShortNames implements the ShortNamesProvider interface. Returns a list of short names for a resource.
|
// ShortNames implements the ShortNamesProvider interface. Returns a list of short names for a resource.
|
||||||
func (r *REST) ShortNames() []string {
|
func (r *REST) ShortNames() []string {
|
||||||
return []string{"crd"}
|
return []string{"crd", "crds"}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Delete adds the CRD finalizer to the list
|
// Delete adds the CRD finalizer to the list
|
||||||
|
Reference in New Issue
Block a user