From 7debab65049c1551b5ea5b7f8ad82518ae4cb1f0 Mon Sep 17 00:00:00 2001 From: Joe Betz Date: Fri, 22 Aug 2025 08:57:28 -0400 Subject: [PATCH] Apply feedback --- staging/src/k8s.io/client-go/ARCHITECTURE.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/staging/src/k8s.io/client-go/ARCHITECTURE.md b/staging/src/k8s.io/client-go/ARCHITECTURE.md index 731f37903b4..8dcf26ed136 100644 --- a/staging/src/k8s.io/client-go/ARCHITECTURE.md +++ b/staging/src/k8s.io/client-go/ARCHITECTURE.md @@ -30,8 +30,8 @@ supporting different client models from a common base. * **Content Negotiation:** The client uses HTTP `Accept` headers to negotiate the wire format (JSON or Protobuf). A key performance optimization using this mechanism is the ability to - request metadata-only lists via the `PartialObjectMetadataList` media type, which returns - objects containing only `TypeMeta` and `ObjectMeta`. + request metadata-only objects via the `as=PartialObjectMetadata;g=meta.k8s.io;v=v1` Accept custom parameter. + Also the `as=Table;g=meta.k8s.io;v=v1` Accept custom parameters may be used to request lists as tables. * **Subresources:** The client can target standard subresources like `/status` or `/scale` for object mutations, and it can also handle action-oriented subresources like `/logs` or `/exec`, which often involve streaming data. @@ -83,7 +83,7 @@ several key components: * **Apply Configurations:** The type-safe builders for Server-Side Apply. A contributor modifying a built-in API type **must** run the code generation scripts to update all -of these dependent components. +of these dependent components. For the Kubernetes project, `hack/update-codegen.sh` runs code generation. ## Controller Infrastructure