Fix the IP data lookup to take in an API key

Fixes https://jira.coreos.com/browse/QUAY-989
This commit is contained in:
Joseph Schorr 2018-06-20 15:44:40 -04:00
parent a3554a73d8
commit d4882f0077
3 changed files with 12 additions and 2 deletions

View file

@ -519,6 +519,9 @@ class DefaultConfig(ImmutableConfig):
# creator IP is deemed a threat.
THREAT_NAMESPACE_MAXIMUM_BUILD_COUNT = None
# The API Key to use when requesting IP information.
IP_DATA_API_KEY = None
# For Billing Support Only: The number of allowed builds on a namespace that has been billed
# successfully.
BILLED_NAMESPACE_MAXIMUM_BUILD_COUNT = None