Skip to content

Support list/get/watch ObjectMeta in api server #30180

Closed
@caesarxuchao

Description

@caesarxuchao

Derived from the discussion here.
#28480 implements a client that only decodes the metadata part of an object. It's useful for garbage collector, or any other components that only care about the object's metadata. However, #28480 only works with JSON, not with Protobuf.

To support both content types, and to make the client simpler, it's desirable to let api server support list/get/watch of the ObjectMeta for a resource, and convert it to a specific version of ObjectMeta that the client requests for.

@smarterclayton @lavalamp

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.sig/api-machineryCategorizes an issue or PR as relevant to SIG API Machinery.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions