Expose `referrers` on `ContainerRepositoryTagType`
Why are we doing this work
To support presentation of image signatures on the frontend we need to expose the referrers for a tag. This will allow the frontend to see what signatures are associated with a tag.
Relevant links
Non-functional requirements
-
Documentation: -
Feature flag: -
Performance: -
Testing:
Implementation plan
- Add a field
referrers
ontoTypes::ContainerRepositoryTagsType
- When this field is requested, pass the
referrers=true
param to the internal tags API (exact implementation TBD on #411387 (closed)) - return the referrers data from the internal tags API
This field will not be available when using the V2 tags API, and should return an empty array in that case.
Verification steps
Edited by Brian Williams