Make public catalog only enabled via a feature flag
This commit is contained in:
parent
f44df49236
commit
555041876d
3 changed files with 53 additions and 30 deletions
|
@ -263,6 +263,10 @@ class DefaultConfig(ImmutableConfig):
|
|||
# Feature Flag: Whether to enable support for App repositories.
|
||||
FEATURE_APP_REGISTRY = False
|
||||
|
||||
# Feature Flag: If set to true, the _catalog endpoint returns public repositories. Otherwise,
|
||||
# only private repositories can be returned.
|
||||
FEATURE_PUBLIC_CATALOG = False
|
||||
|
||||
# The namespaces which should have the ability to enable signing
|
||||
SIGNING_NAMESPACE_WHITELIST = ['coreos', 'quay']
|
||||
|
||||
|
|
Reference in a new issue