Skip to content

please consider adding --context support for specific cluster targeting. #44

@caleyg

Description

@caleyg

Is your feature request related to a problem? Please describe.
When running the inspect tool against a target cluster, without splitting my kubeconfig files into many, which there are many clusters. I must run a kubectl --context target_cluster_alias api-resources or something similar so that my current context session is set correctly. And then I can run my inspection normally against my target cluster using my default kubeconfig kubectl advise-psp inspect -n test_namespace -g with expected results.

Describe the solution you'd like
The ability to use --context similar to how kubectl does.

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