Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ECR Keyless login fails #77

Closed
rashedkvm opened this issue May 3, 2023 · 0 comments · Fixed by #102
Closed

ECR Keyless login fails #77

rashedkvm opened this issue May 3, 2023 · 0 comments · Fixed by #102
Assignees
Labels
bug Something isn't working triage v0.7.x

Comments

@rashedkvm
Copy link
Member

Bug description

ECR Keyless login fails

Tanzu Source Controller on EKS with ECR as a registry and auth against ECR via IAM role, the request fails.

Expected behavior
Tanzu Source Controller on EKS with ECR as a registry and auth against ECR via IAM role, the request must succeed.
Steps to reproduce the bug

  • Install Tanzu Source Contyroller on EKS (k8s 1.25+)
  • Create ImageRepository pulling an image from ECR
  • CR shows RemoteError status code 401

Version (include the SHA if the version is not obvious)
Tanzu Source Controller v0.7.0
Environment where the bug was observed (cloud, OS, etc)
EKS K8s 1.25
Relevant Debug Output (Logs, etc)

unable to pull image 
"<redacted>.dkr.ecr.us-east-2.amazonaws.com/tanzu-application-platform/tanzu-java-web-app:latest@sha256:e96574fa8f7780e04b83688b5f21bac63ed5dbea66d8f7af8037126f73dc0c73": 
Fetching image: 
GET https://<redacted>.dkr.ecr.us-east-2.amazonaws.com/v2/tanzu-application-platform/tanzu-java-web-app/manifests/sha256:e96574fa8f7780e04b83688b5f21bac63ed5dbea66d8f7af8037126f73dc0c73: 
unexpected status code 401 Unauthorized: Not Authorized
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage v0.7.x
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant