diff --git a/util/config/schema.py b/util/config/schema.py index 4cc4a825d..5ba7ae21c 100644 --- a/util/config/schema.py +++ b/util/config/schema.py @@ -406,7 +406,7 @@ CONFIG_SCHEMA = { 'GITHUB_LOGIN_CONFIG': { 'type': ['object', 'null'], 'description': 'Configuration for using GitHub (Enterprise) as an external login provider', - 'required': ['GITHUB_ENDPOINT', 'CLIENT_ID', 'CLIENT_SECRET'], + 'required': ['CLIENT_ID', 'CLIENT_SECRET'], 'x-reference': 'https://coreos.com/quay-enterprise/docs/latest/github-auth.html', 'properties': { 'GITHUB_ENDPOINT': { @@ -738,11 +738,11 @@ CONFIG_SCHEMA = { 'x-reference': 'https://www.google.com/recaptcha/intro/', }, 'RECAPTCHA_SITE_KEY': { - 'type': 'string', + 'type': ['string', 'null'], 'description': 'If recaptcha is enabled, the site key for the Recaptcha service', }, 'RECAPTCHA_SECRET_KEY': { - 'type': 'string', + 'type': ['string', 'null'], 'description': 'If recaptcha is enabled, the secret key for the Recaptcha service', },