Replies: 1 comment 3 replies
-
The previous behavior of rewriting pulls from the default endpoint broke the ability to fall back to pulling from the upstream registry, as containerd would rewrite the image path even when not pulling from the mirror. The intent was always to only rewrite when pulling from mirrors, NOT when pulling from the upstream itself.
Note that it is not necessary to explicitly include the default endpoint ( |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have the following configuration in my
/etc/rancher/rke2/registries.yaml
file:The previous configuration returns different containerd config between
v1.27.10
andv1.28.10
.For
v1.27.10
:For
v1.28.10
:For the
v1.28.10
, the generated config does not contain the rewrite for thehttps://my-registry
endpoint, whereas it was in thev1.27.10
generated config. Why this change?For your information, it works (rewrites for both endpoints) if I change the
registries.yaml
as following (duplicate last endpoint):or as following (inverse of the 2 endpoints):
Best regards,
Corentin
Beta Was this translation helpful? Give feedback.
All reactions