Merge pull request #3030 from coreos-inc/schema-cleanup
Small fixes for config schema validator in response to customer logs
This commit is contained in:
commit
041a7fcd36
1 changed files with 3 additions and 3 deletions
|
@ -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',
|
||||
},
|
||||
|
||||
|
|
Reference in a new issue