Add ability for proportional rollout of the OCI data model
This commit is contained in:
parent
66ddf66fb0
commit
77d7600b64
4 changed files with 22 additions and 9 deletions
3
app.py
3
app.py
|
@ -93,7 +93,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('OCI_NAMESPACE_WHITELIST') or set(),
|
||||
registry_model.setup_split(app.config.get('OCI_NAMESPACE_PROPORTION') or 0,
|
||||
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.
|
||||
|
|
Reference in a new issue