Make public catalog only enabled via a feature flag

This commit is contained in:
Joseph Schorr 2017-06-02 15:30:51 -07:00
parent f44df49236
commit 555041876d
3 changed files with 53 additions and 30 deletions

View file

@ -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']