hi, question on rancher2_registry We’re creating...
# discuss-terraform
e
hi, question on rancher2_registry We’re creating projects using rancher2_project and defining registries using rancher2_registry. On applying, the registry secrets are only getting created in the upstream cluster, not in the downstream RKE2 cluster where they’re actually needed. image pull using that secret id fails. any suggestions.? cc: @bumpy-tomato-36167
b
Hmm, I am not sure how that is supposed to work, let me research a bit and get back to you.
That relates to the registries config in the rke2_config argument of the rancher2_cluster_v2 resource: https://registry.terraform.io/providers/rancher/rancher2/latest/docs/resources/cluster_v2#registries-4
Full disclosure, I haven't had the opportunity to test this configuration yet, but I know it is important and if you wouldn't mind helping me flesh out the use case I will add a test for it to make sure that it works.