Skip to content

Can CustomObjectsApi support all kind of kubernetesObject? #2765

@simsnow

Description

@simsnow

We have many project use k8s-sdk controll the cluster,
I am writing a self-sdk for our projects,
I want to use CustomObjectsApi to process all kind of kubernetesObject,
I found it hard code "/apis/{group}/{version}/", some "/api/{group}/{version}" not suitable for use,

I will hack it by "if group is empty use api, else use apis"

is that right, any other point that may happen?

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions