Updated Harbor FAQs (markdown)

Wang Yan 2024-07-15 19:22:00 +08:00
parent f991a92d74
commit c205686993

@ -591,7 +591,7 @@ registry=# select artifact_id, subject_artifact_id, digest, subject_artifact_dig
## Notation Signature Accessory
Here's some tips you for your awareness, as of [Harbor v2.11.0](https://github.com/goharbor/harbor/releases/tag/v2.11.0) and [Notation v1.2.0](https://github.com/notaryproject/notation/releases/tag/v1.2.0-alpha.1) released and both fully support [distribution-spec v1.1](https://github.com/opencontainers/distribution-spec/tree/v1.1.0).
- **Harbor recommend to explicitly set flag** `--force-referrers-tag=false` while singing since Harbor supports [distribution-spec referrers-api](https://github.com/opencontainers/distribution-spec/blob/main/spec.md#enabling-the-referrers-api). This could avoid generating unnecessary signature index for Harbor, hence, more smoothy experiences on signature singing/verification, image copy and replications.
- **Harbor recommend to explicitly set flag** `--force-referrers-tag=false` while signing since Harbor supports [distribution-spec referrers-api](https://github.com/opencontainers/distribution-spec/blob/main/spec.md#enabling-the-referrers-api). This could avoid generating unnecessary signature index for Harbor, hence, more smoothy experiences on signature signing/verification, image copy and replications.
```
$ notation-v1.2 --force-referrers-tag=false sign xx.xx.xx.xxx/library/hello-world:latest