Skip to content

Add IsNamespaced Property to KubernetesEntityAttribute #1642

@IvanJosipovic

Description

@IvanJosipovic

At the moment, it does not appear that there is a straightforward way to determine whether a given Kubernetes type is namespaced.

Having an IsNamespaced boolean property on the KubernetesEntityAttribute would be very helpful for consumers of the client library who need to programmatically distinguish between namespaced and cluster-wide resources.

This addition would simplify logic in tools and libraries built on top of the client and would not require access to the Discovery API.

Thanks for considering this enhancement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions