address review comments

- more inline documentation
 - don't explicitly specify audience
 - approver is optional in `generate_key`
 - ADD -> RUN for better caching of jwtproxy
This commit is contained in:
Evan Cordell 2016-04-28 20:10:28 -05:00 committed by Jimmy Zelinskie
parent 9df650688b
commit c766727d1d
5 changed files with 41 additions and 11 deletions

View file

@ -289,8 +289,14 @@ class DefaultConfig(object):
'API_TIMEOUT_SECONDS': 10,
'API_TIMEOUT_POST_SECONDS': 480,
}
# JWTProxy Settings
# The address (sans schema) to proxy outgoing requests through the jwtproxy
# to be signed
JWTPROXY_SIGNER = 'localhost:8080'
JWTPROXY_AUDIENCE = 'https://quay.io:443'
# The audience that jwtproxy should verify on incoming requests
# If None, will be calculated off of the SERVER_HOSTNAME (default)
JWTPROXY_AUDIENCE = None
# Torrent management flags
FEATURE_BITTORRENT = False