Trying to follow the “Getting Started” documentation and getting the error you see below:
➜ demo-project git:(feature/zach-soa-and-demos) ✗ garden deploy Deploy 🚀 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🌍 Running in namespace default.demo ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ✔ providers → Getting status... → Cached ℹ Run with --force-refresh to force a refresh of provider statuses. ✔ graph → Resolving 2 modules... → Done backend → Getting build status for v-f1b41d000f... frontend → Getting build status for v-c68c44dced... -> Deploying garden-util service in demo-project-default namespace (was outdated) → Done! ℹ garden-util → Resources ready Failed building backend. Here is the output: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Unable to query registry for image status: time="2022-09-22T19:29:08Z" level=fatal msg="Error parsing image name \"docker://REDACTED.dkr.ecr.us-east-2.amazonaws.com/garden-demo/backend:v-f1b41d000f\": getting username and password: 1 error occurred: \t* credentials not found in native keychain
Some cluster detail:
- EKS 1.23
- ECR for images
The connection is working, I’m seeing the
garden-util deployment started. Garden is using Kaniko for the build-mode. I’ve configure the secret for ‘ecr-config’ like the documentation said. However, I need to be able to use a service account with an AWS role instead of providing ECR credentials, but I don’t see where I can declare a service account to use. So if anyone knows how to do that instead that would awesome.