Skip to content

jmp admin get subcommands should fetch all namespaces, or at least respect kubeconfig context.namespace #366

@evakhoni

Description

@evakhoni

currently, the client, exporter and lease sub-commands in jmp admin get are trying to fetch from default namespace only, unless explicitly pointed elsewhere, regardless of kubeconfig context namespace being set otherwise, and in contrast with jmp admin get clusters which is namespace-agonistic.

I suggest to be fetching from all namespaces by default, unless the user explicitly passing --namespace in order to limit it.
an alternative (less ideal considering not everyone will be changing that) solution is at least to follow the kubeconfig .context.namespace for the .current-context

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