-
-
Notifications
You must be signed in to change notification settings - Fork 253
Open
Labels
Description
I need to force the usage of Instance Metadata Service v2 for my EKS nodes in AWS. With v1 docker-image-resource is able to pull images from ECR with the instance role. With v2 docker-image-resource seems not be able to use the instance role.
A other solution is to use IAM roles for service accounts (IRSA) in AWS. But this also does not work.
resource_types:
- name: example
type: docker-image
source:
repository: <account_id>.dkr.ecr.eu-central-1.amazonaws.com/<repository_name>
tag: 0.0.1Error messages:
IMDS v2: ...credentials not found in native keychain...
IRSA: ...401 not authorized...
lagrianitis