diff --git a/config.py b/config.py index 8ca7ea7d6..60d0e6e69 100644 --- a/config.py +++ b/config.py @@ -21,7 +21,7 @@ CLIENT_WHITELIST = ['SERVER_HOSTNAME', 'PREFERRED_URL_SCHEME', 'MIXPANEL_KEY', 'CONTACT_INFO', 'AVATAR_KIND', 'LOCAL_OAUTH_HANDLER', 'DOCUMENTATION_LOCATION', 'DOCUMENTATION_METADATA', 'SETUP_COMPLETE', 'DEBUG', 'MARKETO_MUNCHKIN_ID', 'STATIC_SITE_BUCKET', 'RECAPTCHA_SITE_KEY', 'CHANNEL_COLORS', - 'TAG_EXPIRATION_OPTIONS'] + 'TAG_EXPIRATION_OPTIONS', 'SIGNING_NAMESPACE_WHITELIST'] def frontend_visible_config(config_dict): @@ -262,6 +262,9 @@ class DefaultConfig(ImmutableConfig): # Feature Flag: Whether to enable support for App repositories. FEATURE_APP_REGISTRY = False + + # The namespaces which should have the ability to enable signing + SIGNING_NAMESPACE_WHITELIST = ['coreos', 'quay'] # The namespace to use for library repositories. # Note: This must remain 'library' until Docker removes their hard-coded namespace for libraries. diff --git a/static/directives/repo-view/repo-panel-settings.html b/static/directives/repo-view/repo-panel-settings.html index 1a34cbdae..1bfc8675a 100644 --- a/static/directives/repo-view/repo-panel-settings.html +++ b/static/directives/repo-view/repo-panel-settings.html @@ -19,7 +19,7 @@ -