-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(config): warn if cve is used with remote storage driver (#1034)
* fix(config): warn if cve is used with remote storage driver Signed-off-by: Catalin Hofnar <[email protected]> * fix: also check if search is enabled Signed-off-by: Ramkumar Chinchani <[email protected]> Signed-off-by: Catalin Hofnar <[email protected]> Signed-off-by: Ramkumar Chinchani <[email protected]> Co-authored-by: Catalin Hofnar <[email protected]>
- Loading branch information
Showing
6 changed files
with
147 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"distSpecVersion": "1.0.1-dev", | ||
"storage": { | ||
"dedupe": true, | ||
"remoteCache": true, | ||
"storageDriver": { | ||
"name": "s3", | ||
"rootdirectory": "/zot", | ||
"region": "us-east-2", | ||
"regionendpoint": "localhost:4566", | ||
"bucket": "zot-storage", | ||
"secure": false, | ||
"skipverify": false | ||
}, | ||
"cacheDriver": { | ||
"name": "dynamodb", | ||
"endpoint": "http://localhost:4566", | ||
"region": "us-east-2", | ||
"tableName": "BlobTable" | ||
} | ||
}, | ||
"http": { | ||
"address": "127.0.0.1", | ||
"port": "8080" | ||
}, | ||
"log": { | ||
"level": "debug" | ||
}, | ||
"extensions": { | ||
"search": { | ||
"enable": false, | ||
"cve": { | ||
"updateInterval": "2h" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters