Skip to content

kubeconfig check should support only specified token when import cluster #1073

@huxiaoliang

Description

@huxiaoliang

Refer to code https://github.com/kubernetes/client-go/blob/master/rest/config.go#L501, we can see that kubeconfig support only specified token to access k8s cluster, but UI ask CertFile MUST be specified when import cluster, please UI enhance here to align with native k8s behavior

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions