Hey everyone! I'm currently setting up a k3s cluster on my Proxmox setup, and I'm running into a snag when trying to pull images from my AWS ECR private repository. I've put in quite a bit of effort but can't seem to get it working. I stumbled upon the Kubernetes ecr-credential-provider while researching, but the issues persist. Could anyone suggest resources, videos, or anything else that might help me figure this out? I'd really appreciate it! Thanks!
1 Answer
I tackled a similar issue not long ago using Ansible with awscli for temporary credentials. Can you share more about what's specifically going wrong for you? I used FluxCD for deployment, which made handling this a breeze!
I should have been more clear, sorry for that. I kept getting the error: "Pull access denied, repository does not exist or may require authorization: authorization failed: no basic auth credentials." I've already created my credentials files under .aws, set the relevant environment variables, and included them in /etc/systemd/system/k3s.service.env. From what I've gathered, I shouldn't need to have the AWS CLI set up in every pod, but I'm at a loss. Thanks for responding!