aws-iam-authenticator icon indicating copy to clipboard operation
aws-iam-authenticator copied to clipboard

Last merge affected download link, affecting circleci EKS orb and likely preventing builds for many users!

Open wasims1 opened this issue 3 years ago • 8 comments

Hi

Today we started having error in CI/CD in Circleci. Apparently the circleci/[email protected] uses aws-iam-authenticator using this command to obtain version and then using DOWNLOAD_URL:

VERSION=$(curl -Ls --fail --retry 3 -o /dev/null -w "%{url_effective}" "https://github.com/kubernetes-sigs/aws-iam-authenticator/releases/latest" | sed 's:.*/::' | sed 's/v//g')

DOWNLOAD_URL="https://github.com/kubernetes-sigs/aws-iam-authenticator/releases/download/v${VERSION}/${FILENAME}${VERSION}${PLATFORM}_amd64"

The variables are as follows: PLATFORM="linux" FILENAME="aws-iam-authenticator"

Running the DOWNLOAD_URL with version 0.5.6 works, however after today's merge and release of version 0.5.7, we are getting 404 Not found - which stopped our builds currently..

wasims1 avatar Apr 09 '22 01:04 wasims1

Looks like duplicate of https://github.com/kubernetes-sigs/aws-iam-authenticator/issues/449

jstastny avatar Apr 09 '22 08:04 jstastny

Got the building issue with aws-eks in CircleCI. Does anyone know how to solve it quickly? Thanks.

FILENAME="aws-iam-authenticator"
VERSION=$(curl -Ls --fail --retry 3 -o /dev/null -w "%{url_effective}" "https://github.com/kubernetes-sigs/aws-iam-authenticator/releases/latest" | sed 's:.*/::' | sed 's/v//g')

cubean avatar Apr 09 '22 12:04 cubean

Yeah, hardcode to the last known good version until this has been resolved:

FILENAME="aws-iam-authenticator"
VERSION=0.5.6

trescube avatar Apr 09 '22 14:04 trescube

Same issue here, broke my build.

Looks like this has happened before: https://discuss.circleci.com/t/aws-eks-orb-aws-iam-authenticator-install-fails-missing-or-malformed-url/37699

benknight avatar Apr 09 '22 20:04 benknight

to anyone still having this issue, the aws-eks orb itself issued an emergency update just change the version to :2.1.2 and it should work for now...

wasims1 avatar Apr 10 '22 10:04 wasims1

to anyone still having this issue, the aws-eks orb itself issued an emergency update just change the version to :2.1.2 and it should work for now...

It's working. Thank you very much.

BTW: remember to add region if you upgrade the aws-eks version.

- aws-eks/update-kubeconfig-with-authenticator:
          cluster-name: xxx
          aws-region: ${AWS_REGION}

cubean avatar Apr 10 '22 13:04 cubean

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Jul 09 '22 13:07 k8s-triage-robot

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

k8s-triage-robot avatar Aug 08 '22 14:08 k8s-triage-robot

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue or PR with /reopen
  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close

k8s-triage-robot avatar Sep 07 '22 14:09 k8s-triage-robot

@k8s-triage-robot: Closing this issue.

In response to this:

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue or PR with /reopen
  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

k8s-ci-robot avatar Sep 07 '22 14:09 k8s-ci-robot