Fix config schema for bitbucket trigger

This commit is contained in:
Joseph Schorr 2018-02-20 16:59:34 -05:00
parent 3f2604c61e
commit 4d0ad0074d

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',
},
},