Harbor contains the state OCI artifacts, so satellite needs to download the state artifact extract the entries and process to pull the mentioned artifacts in state file.
The user creates a replication rule in Harbor that pushes the state artifact file to a specific namespace in the Harbor registry. This namespace represents the satellite for which the state artifact file is created.
The satellite then searches for the state file, pulls it from Harbor as an artifact, and processes it.
The state file contains registry details, such as the endpoint, along with the repository paths, tags, and image hashes that need to be pulled.
Scope of the Issue
Implement functionality on the satellite to fetch the state file from Harbor, process the list of images it needs to retrieve, and pass this list to the fetcher, which will then fetch the images.
Harbor contains the state OCI artifacts, so satellite needs to download the state artifact extract the entries and process to pull the mentioned artifacts in state file.