Comments (9)
Have you added base64 kubeconfig content to github secrets?
from kubectl-aws-eks.
Any update on this? Getting this error too. Do you have a work around @mdasrafkhan ?
from kubectl-aws-eks.
@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.
Perhaps your access keys don't have the required permissions to access the cluster you're trying to connect to
from kubectl-aws-eks.
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.
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.
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.
The issue is still there and with all valid configurations.
from kubectl-aws-eks.
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)
- Unable to parse config file: /github/home/.aws/credentials HOT 3
- Notes HOT 1
- Update multiple deployments HOT 1
- Issue with running kubectl commands HOT 27
- switch to aws-iam-authenticator 0.5.7 breaks EKS runs. HOT 5
- Specifying versions causes issues HOT 4
- Provide arm64 support
- clarify example KUBE_CONFIG_DATA HOT 1
- IMP: add output from action
- Create/Update environment variables in ConfigMaps from env file
- Build kodermax/kubectl-aws-eks@master fails to build docker image HOT 11
- Build kodermax/kubectl-aws-eks@master constantly fails to build docker image HOT 6
- error: error loading config file "/tmp/config": yaml: mapping values are not allowed in this context HOT 1
- job got succeded but pods does't restarted
- Error: Unable to resolve action `kodermax/kubectl-aws-eks@master`, unable to find version `master` HOT 6
- Docker build fail - curl points to non existent files HOT 12
- Build action fails HOT 3
- Docker build failed HOT 6
- Setting the result of a kubectl command as env var HOT 2
- When is v1.0.8 published? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubectl-aws-eks.