Code Monkey home page Code Monkey logo

Comments (9)

kodermax avatar kodermax commented on July 17, 2024 1

Have you added base64 kubeconfig content to github secrets?

from kubectl-aws-eks.

Genysys avatar Genysys commented on July 17, 2024

Any update on this? Getting this error too. Do you have a work around @mdasrafkhan ?

from kubectl-aws-eks.

Omobolanle-Arogundade avatar Omobolanle-Arogundade commented on July 17, 2024

@Genysys, are you able to connect to your kubernetes cluster using your AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY?

from kubectl-aws-eks.

Omobolanle-Arogundade avatar Omobolanle-Arogundade commented on July 17, 2024

Perhaps your access keys don't have the required permissions to access the cluster you're trying to connect to

from kubectl-aws-eks.

gotchipete avatar gotchipete commented on July 17, 2024

FWIW, I'm getting this as well (You must be logged in to the server (Unauthorized)) and have tried using AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY with full cluster permissions. Can connect fine from anywhere else.

from kubectl-aws-eks.

jurampark-pala avatar jurampark-pala commented on July 17, 2024

Having same issue, could you elaborate a little more? I only put 1 cluster, 1 context and 1 user ub kubeconfig file and used it to generate base64 encoding string but still having an issue.

from kubectl-aws-eks.

frankisinfotech avatar frankisinfotech commented on July 17, 2024

I'm getting this error Unauthorized using this action. My kubeconfig works fine locally

 $ KUBECONFIG=~/.kube/config kubectl get svc

If you are getting the above error, it is because the IAM user who created the cluster is different from the user trying to authenticate with the cluster. Hence, you must authenticate with the user who created the cluster.
What I mean is, the user who created the cluster, is the same user that must be authenticated with using the command below;
#aws configure

from kubectl-aws-eks.

ghanshyam-onesliq avatar ghanshyam-onesliq commented on July 17, 2024

The issue is still there and with all valid configurations.

from kubectl-aws-eks.

frankisinfotech avatar frankisinfotech commented on July 17, 2024

Hi @ghanshyam-onesliq, you can reach out to me on https://www.linkedin.com/in/legborsi-frank/, and let me see how I may be of help.

Regards

from kubectl-aws-eks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.