Skip to content

Add --kubeconfig and --context CLI flags #4

@rawkode

Description

@rawkode

Currently main.rs calls kube::Client::try_default() with no override. Users with multiple kubeconfigs or contexts have no way to specify which cluster to query. Every production kubectl plugin should support these flags.

The kube crate supports both via Config::from_custom_kubeconfig and ConfigOptions.

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions