I do have a quick question: if I use rewriting via registries.yaml and rewrite from public to a private repository, will it automatically use the matching imagePullSecret ?
c
creamy-pencil-82913
02/08/2023, 4:14 PM
Rewrites only change the image path, they cannot change what registry it comes from
But I guess you're asking about repo not registry
I believe the credentials should be retained even as the path is altered, yes.
b
brief-sunset-33126
02/08/2023, 6:19 PM
Cheers, I guess that's just the other way around for me.
I need to tunnel everything through a private pull-through repository. So for example docker.io -> amazon.ecr. But since theres no need to authenticate to docker.io, k3s won't try to auth to ecr as well (best theory, atm)