Giter Site home page Giter Site logo

Comments (6)

dawidmalina avatar dawidmalina commented on September 18, 2024 2

For EKS support 👍

from aws-ssm.

cmattoon avatar cmattoon commented on September 18, 2024 2

It should work now (after re-pulling latest)

from aws-ssm.

cmattoon avatar cmattoon commented on September 18, 2024

KUBE_CONFIG should be the path inside the container (which you'll have to mount/provide as a secret/configmap)

Can you try:

sudo docker run \
    -v "/home/ec2-user/.kube/config:/mnt/.kube/config" \
    --env KUBE_CONFIG=/mnt/.kube/config \
    --env MASTER_URL=<API server endpoint from EKS> \
    cmattoon/aws-ssm

from aws-ssm.

hydeenoble avatar hydeenoble commented on September 18, 2024

Thank you very much @cmattoon, It worked. But, I now have a new error message:

Error retrieving secrets: Get <API server endpoint from EKS>/api/v1/secrets: getting credentials: exec: exec: \"heptio-authenticator-aws\": executable file not found in $PATH"

Can you help??

from aws-ssm.

hydeenoble avatar hydeenoble commented on September 18, 2024

@cmattoon, Please, can I get help here?

from aws-ssm.

cmattoon avatar cmattoon commented on September 18, 2024

The error thrown is exec: exec: \"heptio-authenticator-aws\": executable file not found in $PATH, so I'm assuming you'll need to either:
a) fork and build a container with heptio-authenticator-aws; or
b) Update the .kube/config for this container to authenticate some other way

I'll look into supporting https://github.com/kubernetes-sigs/aws-iam-authenticator

from aws-ssm.

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.