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
But now I get this message when I try to auth (via kubectl get nodes for example):
E0923 13:55:35.945610 249237 memcache.go:265] couldn't get current server API group list: the server has asked for the client to provide credentials
E0923 13:55:36.363502 249237 memcache.go:265] couldn't get current server API group list: the server has asked for the client to provide credentials
E0923 13:55:36.591913 249237 memcache.go:265] couldn't get current server API group list: the server has asked for the client to provide credentials
E0923 13:55:36.826208 249237 memcache.go:265] couldn't get current server API group list: the server has asked for the client to provide credentials
E0923 13:55:37.051483 249237 memcache.go:265] couldn't get current server API group list: the server has asked for the client to provide credentials
error: You must be logged in to the server (the server has asked for the client to provide credentials)
I mean the error message is right, there is no group list inside the token, but it shouldn't be needed/expected in the first place. Any idea how to fix it?
Your environment
Client-OS: WSL2 / Ubuntu 22.04
kubelogin version: v1.28.1
kubectl version: v1.29.7
OpenID Connect provider: Microsoft Azure
The text was updated successfully, but these errors were encountered:
I try to connect my k8s cluster against Azure EntraID as an OIDC provider.
I followed this guide. Created an Azure App and configured the kube-apiserver as shown here:
I want to use roles instead of groups so I added
--oidc-groups-claim=roles
.On client side I was able to run this command:
The id-token I got has no
groups
key, but aroles
key (as expected).Now the issue I have:
I modified my local kube-config as well to connect to the cluster:
But now I get this message when I try to auth (via
kubectl get nodes
for example):I mean the error message is right, there is no group list inside the token, but it shouldn't be needed/expected in the first place. Any idea how to fix it?
Your environment
The text was updated successfully, but these errors were encountered: