You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened:
When I try any command (let's say rbac-tool whoami --cluster-context mycontext)
I get an
Error: Failed to create kubernetes client - exec plugin: invalid apiVersion "client.authentication.k8s.io/v1"
if in my kube config file the apiVersion is set to
client.authentication.k8s.io/v1
What you expected to happen:
To be able to run and to use the apiVersion
client.authentication.k8s.io/v1
How to reproduce it (as minimally and precisely as possible):
in your ~/.kube/config file, in the "Users" block change any
apiVersion: client.authentication.k8s.io/v1beta1
to
apiVersion: client.authentication.k8s.io/v1
and try to use the application using the context you've modified previously.
Anything else we need to know?:
the apiVersion
client.authentication.k8s.io/v1
is stable since Kubernetes 1.22 (August 2021)
Environment:
Kubernetes version (use kubectl version): 1.31
Cloud provider or configuration: AWS EKS
Install tools: kubectl krew install rbac-tool
Others:
The text was updated successfully, but these errors were encountered:
What happened:
When I try any command (let's say rbac-tool whoami --cluster-context mycontext)
I get an
Error: Failed to create kubernetes client - exec plugin: invalid apiVersion "client.authentication.k8s.io/v1"
if in my kube config file the apiVersion is set to
client.authentication.k8s.io/v1
What you expected to happen:
To be able to run and to use the apiVersion
client.authentication.k8s.io/v1
How to reproduce it (as minimally and precisely as possible):
in your ~/.kube/config file, in the "Users" block change any
apiVersion: client.authentication.k8s.io/v1beta1
to
apiVersion: client.authentication.k8s.io/v1
and try to use the application using the context you've modified previously.
Anything else we need to know?:
the apiVersion
client.authentication.k8s.io/v1
is stable since Kubernetes 1.22 (August 2021)
Environment:
kubectl version
): 1.31The text was updated successfully, but these errors were encountered: