I'm using `rancher2_cluster_v2` , and am trying to...
# terraform-provider-rancher2
a
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?
Copy code
registries { 
  mirrors {
    hostname = "<http://docker.io|docker.io>"
    endpoints = [
      "<https://my-pullthrough-proxy.example.com>",
      "<https://docker.io>"
    ]
  }
}