Open tommy-dk opened 6 months ago
Hey Tommy,
Interesting. Helmper is using v3.14.2 and the fix should have been released as part of the v3.13.2 release, so the current version should already contain the fix as far as i am aware.
As you are running this on Mac if i remember correctly, maybe the system keychain is interfering by getting the credentials instead of the config.json file. Can you confirm that you get the entry for ECR when you do login with Helm and Docker?
See the answer from Oliver Salzburg in this thread https://stackoverflow.com/questions/34689445/cant-push-image-to-amazon-ecr-fails-with-no-basic-auth-credentials
Hey,
Because of the complications of using ECR as a helm chart repository, I've reverted and are now using ACR which works well.
Good, I will test and reproduce the issue on my end when time permits then :)
Update; Looks like Helmper is working with ECR once logged in with helm registry login
that the problem is that ECR does not automatically create repositories for images on first push
Issue from ECR https://github.com/aws/containers-roadmap/issues/853
i am getting below error while pushing to OCI registry. Issue seems to be in directory structure. for eg: public.ecr.aws/ebs-csi-driver/aws-ebs-csi-driver:v1.32.0 -> this works but when the directory structure changes: public.ecr.aws/eks-distro/kubernetes-csi/node-driver-registrar:v2.11.0-eks-1-30-8 --> fails
Error:
{"time":"2024-10-08T05:51:03.840155299Z","level":"INFO","msg":"Image not available. will be excluded from import...","image":""}
{"time":"2024-10-08T05:51:04.782997215Z","level":"INFO","msg":"Image not available. will be excluded from import...","image":"public.ecr.aws/eks-distro/kubernetes-csi:v8.0.1-eks-1-30-8"}
{"time":"2024-10-08T05:51:04.785323639Z","level":"INFO","msg":"Image not available. will be excluded from import...","image":"public.ecr.aws/eks-distro/kubernetes-csi:v2.11.0-eks-1-30-8"}
When using an Amazon Container Registry (ECR) it doesn't work and
helmper
exits with the following error:I suspect it's connected with this bug report: https://github.com/helm/helm/issues/12491 which was reverted here though: https://github.com/helm/helm/pull/12527
There's no problem when I try
helmper
towards an Azure Container Registry (ACR).