Skip to content

Error retrieving credentials / ECR Registry #5

@miracle2k

Description

@miracle2k

I am getting a bunch of errors like this:

time="2024-05-04T08:04:25Z" level=error msg="Error retrieving credentials" error="ecr: Failed to get authorization token: operation error ECR: GetAuthorizationToken, get identity: get credentials: failed to refresh cached credentials, no EC2 IMDS role found, operation error ec2imds: GetMetadata, request canceled, context deadline exceeded"

E0504 08:04:25.125601       1 archfilter.go:167] "failed to get image architectures" err=<
	GET https://....dkr.ecr.eu-west-2.amazonaws.com/v2/.../manifests/latest: unexpected status code 401 Unauthorized: Not Authorized

I realize this is a kops / AWS specific issue, but still curious if someone knows the process to setup the permissions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions