This message was deleted.
# rke2
a
This message was deleted.
m
Looks like we were passing in information for the mirror rewrites wrongly. Instead of above, it should be like this instead:
Copy code
mirrors := rancher2.ClusterV2RkeConfigRegistriesMirrorArgs{
		Hostname:  pulumi.String("*"),
		Endpoints: pulumi.StringArray{pulumi.String("<https://our-registry>...")},
		Rewrites: pulumi.Map{
			"^(.*)/(.*)":    pulumi.String("rewrite-to-this/$1/$2"),
			"^rancher/(.*)": pulumi.String("rewrite-to-this/rancher/$1"),
		},
	}