Merge pull request #3010 from coreos-inc/schema-fix

Fix config schema for bitbucket trigger
This commit is contained in:
josephschorr 2018-02-20 17:01:28 -05:00 committed by GitHub
commit 7b106d81ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -446,17 +446,17 @@ CONFIG_SCHEMA = {
'BITBUCKET_TRIGGER_CONFIG': {
'type': ['object', 'null'],
'description': 'Configuration for using BitBucket for build triggers',
'required': ['CLIENT_ID', 'CLIENT_SECRET'],
'required': ['CONSUMER_KEY', 'CONSUMER_SECRET'],
'x-reference': 'https://coreos.com/quay-enterprise/docs/latest/bitbucket-build.html',
'properties': {
'CLIENT_ID': {
'CONSUMER_KEY': {
'type': 'string',
'description': 'The registered client ID for this Quay instance',
'description': 'The registered consumer key (client ID) for this Quay instance',
'x-example': '0e8dbe15c4c7630b6780',
},
'CLIENT_SECRET': {
'CONSUMER_SECRET': {
'type': 'string',
'description': 'The registered client secret for this Quay instance',
'description': 'The registered consumer secret (client secret) for this Quay instance',
'x-example': 'e4a58ddd3d7408b7aec109e85564a0d153d3e846',
},
},