oxidecomputer / omicron

Omicron: Oxide control plane
Mozilla Public License 2.0
252 stars 40 forks source link

TUF repository deletion #7135

Open iliana opened 18 hours ago

iliana commented 18 hours ago

We have endpoints for reading (system_update_get_repository) and creating (system_update_put_repository) TUF repositories in Nexus, but we need an endpoint for deleting one.

This is not as simple as removing the records from the database; we should prevent deleting repositories if Nexus might need the artifacts in order to manage the system. This might be as simple as ensuring we keep the "current" system version, the system version we want to be on by policy, and any versions in between.