glamorous-australia-2134211/16/2021, 12:45 AM
. We have a role that is defined in pulumi
configured Kubernetes cluster is unreachable: unable to load schema information from the API server: the server has asked for the client to provide credentials
for the cluster and I can confirm the IAM role is in aws-auth configmap. Anyone can auth to the cluster with k9s or kubectl using this role, but if anyone tries to do pulumi commands we get this auth error above. I can do anything beause I created the cluster I guess. I even tried using a different test account and have no issues, but my colleagues and my CI is broken. I am not using a providercredentialopts so pulumi is using whatever profile is in the default profile.
brave-ambulance-9849111/16/2021, 1:08 AM
when you created the cluster? I ran into this issue when I first set up EKS and my solution was to use this parameter with a shared admin role. If you don't do this, the cluster is created with whatever your current AWS credentials are.
glamorous-australia-2134211/16/2021, 5:21 PM
brave-ambulance-9849111/16/2021, 5:28 PM
and updating the program.
glamorous-australia-2134211/16/2021, 6:29 PM