Allow namespaces to be whitelisted for OCI, but not V22
This commit is contained in:
parent
92808e8d3f
commit
7c241a93f6
4 changed files with 13 additions and 7 deletions
3
app.py
3
app.py
|
@ -91,7 +91,8 @@ app.config.update(environ_config)
|
|||
|
||||
# Split the registry model based on config.
|
||||
# TODO(jschorr): Remove once we are fully on the OCI data model.
|
||||
registry_model.setup_split(app.config.get('V22_NAMESPACE_WHITELIST') or set())
|
||||
registry_model.setup_split(app.config.get('OCI_NAMESPACE_WHITELIST') or set(),
|
||||
app.config.get('V22_NAMESPACE_WHITELIST') or set())
|
||||
|
||||
# Allow user to define a custom storage preference for the local instance.
|
||||
_distributed_storage_preference = os.environ.get('QUAY_DISTRIBUTED_STORAGE_PREFERENCE', '').split()
|
||||
|
|
Reference in a new issue