From a4c78ba99a79ae5414b2816f54e3b9d49e256fb1 Mon Sep 17 00:00:00 2001 From: Quentin Machu Date: Mon, 5 Oct 2015 13:35:01 -0400 Subject: [PATCH] Add support for Quay's vulnerability tool --- initdb.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/initdb.py b/initdb.py index 80c9fa952..8b095b002 100644 --- a/initdb.py +++ b/initdb.py @@ -95,6 +95,10 @@ def __create_subtree(repo, structure, creator_username, parent, tag_map): for path_builder in paths: path = path_builder(new_image.storage.uuid) store.put_content('local_us', path, checksum) + + new_image.security_indexed = False + new_image.security_indexed_engine = maxsize + new_image.save() new_image.security_indexed = False new_image.security_indexed_engine = maxsize