mirror of
https://github.com/project-zot/zot.git
synced 2026-06-17 12:58:02 +08:00
image level lint: enforce manifest mandatory annotations
closes #536 Signed-off-by: Lisca Ana-Roberta <ana.kagome@yahoo.com>
This commit is contained in:
committed by
Andrei Aaron
parent
3d72dad507
commit
87fc941b3c
@@ -20,6 +20,7 @@ The following document refers on the **core dist-spec**, see also the [zot-speci
|
||||
* Supports container image signatures - [cosign](https://github.com/sigstore/cosign) and [notation](https://github.com/notaryproject/notation)
|
||||
* Multi-arch support
|
||||
* Clustering support
|
||||
* Image linting support
|
||||
|
||||
## [Demos](demos/README.md)
|
||||
|
||||
@@ -381,6 +382,11 @@ bin/zxp config _config-file_
|
||||
## Enable Metrics
|
||||
In the zot with all extensions case see [configuration example](./examples/config-metrics.json) for enabling metrics
|
||||
|
||||
## Image linting
|
||||
|
||||
# Mandatory Annotations
|
||||
When pushing an image, if the mandatory annotations option is enabled, linter will verify if the mandatory annotations list present in the config is also found in the manifest's annotations list. If there are any missing annotations, the push will not take place.
|
||||
|
||||
## Clustering
|
||||
|
||||
zot supports clustering by using multiple stateless zot with shared s3 storage and a haproxy (with sticky session) in front of them.
|
||||
|
||||
Reference in New Issue
Block a user