helm/helm

TestUserAgentHeaderInK8sRESTClientConfig appears to fail when you have a bad .kube/config

Open

#31,470 opened on 2025年11月9日

GitHub で見る
 (6 comments) (1 reaction) (0 assignees)Go (7,602 forks)batch import
Stalebughelp wanted

Repository metrics

Stars
 (29,815 stars)
PR merge metrics
 (平均マージ 40d 17h) (30d で 48 merged PRs)

説明

TestUserAgentHeaderInK8sRESTClientConfig appears to fail when you have a bad .kube/config

In my case, current context was no longer a valid cluster.

Ideally the unit tests wouldn't rely on the current k8s environment.

コントリビューターガイド