Describe the bug
No version including HEAD supports client.authentication.k8s.io/v1
Client Version
All Versions including HEAD
Kubernetes Version
e.g. 1.21+
Java Version
Any
To Reproduce
Attempt to login to a cluster using client.authentication.k8s.io/v1
Expected behavior
A login successful. Instead getting unknown apiVersion
Additional context
The problem is here:
|
if (!"client.authentication.k8s.io/v1beta1".equals(apiVersion) |