Coder Social home page Coder Social logo

Comments (8)

thapakazi avatar thapakazi commented on May 22, 2024 1

@ozbillwang This is a issue, I just execed inside the container
screenshot-20200818-14:08:52
and found iam-authenticator is broken.

It broke my CI :(

from k8s.

ozbillwang avatar ozbillwang commented on May 22, 2024 1

try now

from k8s.

thapakazi avatar thapakazi commented on May 22, 2024 1

Hmm could be, I thought the same too, I was thinking of trying alternative, directly from github like:

latest_aws_iam_auth=$(curl https://github.com/kubernetes-sigs/aws-iam-authenticator/releases/latest | sed -r 's/.*http.*v(.*)">.*/\1/')
AWS_IAM_AUTH_VERSION_URL=https://github.com/kubernetes-sigs/aws-iam-authenticator/releases/download/v${latest_aws_iam_auth}/aws-iam-authenticator_${latest_aws_iam_auth}_linux_amd64

from k8s.

ozbillwang avatar ozbillwang commented on May 22, 2024 1

I used to get the latest release from github, but I found they are different.

from k8s.

ozbillwang avatar ozbillwang commented on May 22, 2024

seems you run something in AWS EKS, please check your setting in it. it blocked your external access to github.com.

Second, check if you can connect to kubernetes cluster:

kubectl get nodes
kubectl get all --all-namespaces

This is not the image problem, you need figure it out by yourself. Otherwise ask for help by search google or stackoverflow.

from k8s.

thapakazi avatar thapakazi commented on May 22, 2024

Hey @ozbillwang, I think you could just rebuild it once again on travis, build.sh its working with new iam binary for me in local.

This job is weird though: https://travis-ci.org/github/alpine-docker/k8s/jobs/718664972

screenshot-20200818-15:36:27

I wonder why build.sh pulled this url: https://amazon-eks.s3.us-west-2.amazonaws.com/1.17.9/2020-07-08/bin/linux/amd64/aws-iam-authenticator

from k8s.

thapakazi avatar thapakazi commented on May 22, 2024

New build worked from me @ozbillwang 👍

Edit:
Just an idea 🤔 ; would be better if these tools be verified at the end of Dockerfile with simple version command like:
screenshot-20200818-15:50:47

from k8s.

ozbillwang avatar ozbillwang commented on May 22, 2024

the aws-iam-auth url is coming from this document:

https://docs.aws.amazon.com/eks/latest/userguide/install-aws-iam-authenticator.html

AWS doesn't share us the go through permission that we can't know what's the latest version from above url

https://amazon-eks.s3.us-west-2.amazonaws.com/1.17.9/2020-08-04/bin/linux/amd64/aws-iam-authenticator

I used some scripts to catch the keyword about 1.17.9/2020-08-04, but seems aws developers are keep changing the html format. The build.sh is failed to get the latest version of "aws-iam-auth"

from k8s.

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.