Just a gist, since I tend to forget things.

  "packageRules": [
    ...
    {
      "matchDatasources": ["galaxy-collection"],
      "registryUrls": [
        "https://automation-hub.apps.ocp4.example.com/api/galaxy/content/rh-certified/",
        "https://automation-hub.apps.ocp4.example.com/api/galaxy/content/validated/",
        "https://automation-hub.apps.ocp4.example.com/api/galaxy/content/community/"
      ]
    }
  ],
  ...