mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-18 07:45:13 +00:00
Automatic merge from submit-queue Added shortName to meta.v1.APIResource. The shortNames would be used to allow kubectl to have short names representations of resources from aggregated API servers. ```release-note Adds `shortNames` to the `APIResource` from discovery which is a list of recommended shortNames for clients like `kubectl`. ``` **What this PR does / why we need it**: The shortNames would be used to allow kubectl to have short names representations of resources from aggregated API servers. **Special notes for your reviewer**: I have followed the steps described here [Changing the internal structures](https://github.com/kubernetes/community/blob/master/contributors/devel/api_changes.md) I have run the following scripts: hack/update-codegen.sh hack/update-generated-protobuf.sh hack/update-codecgen.sh hack/update-openapi-spec.sh hack/update-swagger-spec.sh hack/update-federation-openapi-spec.sh hack/update-api-reference-docs.sh See also: #[38755](https://github.com/kubernetes/kubernetes/pull/38755) #[38835](https://github.com/kubernetes/kubernetes/pull/38835#event-914403188) **Release note**: Extended meta.v1.APIResource by a list of short names. The short names would be used to allow kubectl to have short names representations of resources from aggregated API servers.