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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
Since the basic auth will be removed for Kubernetes 1.22, i'm trying to change the way my apps connect to the remote api cluster.
My apps are using the
DefaultKubernetesClient
to communicate with local kubernetes API and also need an other client to communicate with remote clusters.So I created a service account with the following instructions https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication#environments-without-gcloud and created an other client with:
I also added the certificate to Java keystore.
It works fine on my machine because i'm also logged with gcloud, but once I deploy on my Cluster I have the following error:
Seams i'm logged in, but not authorized, I don't really understand what happened.
How to log in well without legacy way with the client ? What have I done wrong ?
Beta Was this translation helpful? Give feedback.
All reactions