Repository navigation
Feat | Suggest overriding the Redis image repository when its pull fails - #508
Conversation
dag-andersen
left a comment
There was a problem hiding this comment.
Sorry, I almost forgot about this PR 🚀
However, it seems like your issue is getting a lot of upvotes, so maybe this is a bigger problem than i thought 👀
|
No worries, thanks for merging! Yeah, my only worry is that if most people end up adding their own override, things can break in ways your CI won't catch, since it tests the default setup and not each override. But let's see if #507 keeps growing. #502 is still open, so if it comes to that I can update it to make the mirror the default and adjust the hint from this PR. If you'd rather keep exactly the same image as ECR, another option would be copying it to a public registry of your own (like GHCR, with something like crane copy), so the digest stays the same but it's pulled from a registry that belongs to argocd-diff-preview. But I think that adds complexity that probably isn't needed 😅 |
Summary
ImagePullBackOfforErrImagePull, the crash watcher now logs a hint right after the existing error: the registry may be rate limiting anonymous pulls, and the Redis image repository (redis.image.repository) can be overridden in the Argo CD Helm chart values, with a link to the custom Argo CD installation docs.Testing
go test ./cmd/... ./pkg/...TestImagePullHint_RedisandTestImagePullHint_OtherContainers