Add crds as CustomResourceDefinition shortname

This commit is contained in:
Nikhita Raghunath 2018-01-31 00:12:01 +05:30
parent 9e2878d93c
commit ba8488559d

View File

@ -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