https://rancher.com/ logo
Title
a

adventurous-magazine-13224

03/14/2023, 2:14 PM
I'm using
rancher2_cluster_v2
, and am trying to configure an ordered list of registry mirrors using the below. I want to use my custom mirror, and then fallback to docker.io if it goes down. Terraform is ordering this endpoints list, and putting docker.io at the top of the mirror list, so my custom mirror is never used ­čś× Has anyone gotten around this? Or could I omit docker.io from this list and it'd fall back to that by default?
registries { 
  mirrors {
    hostname = "<http://docker.io|docker.io>"
    endpoints = [
      "<https://my-pullthrough-proxy.example.com>",
      "<https://docker.io>"
    ]
  }
}