Remove unneeded service key expiration

This commit is contained in:
Evan Cordell 2016-04-28 09:04:04 -05:00 committed by Jimmy Zelinskie
parent 9ffc32f680
commit 47a52a47eb

View file

@ -16,7 +16,7 @@ from util.config.database import sync_database_with_config
from util.generatepresharedkey import generate_key
def create_quay_service_key(seconds_until_expiration):
def create_quay_service_key():
quay_key, key_id = generate_key(None, 'quay', 'quay')
with open('/conf/quay.pem', mode='w') as f:
@ -48,7 +48,7 @@ def create_jwtproxy_conf(quay_key_id):
def main():
if app.config.get('SETUP_COMPLETE', False):
sync_database_with_config(app.config)
quay_key_id = create_quay_service_key(app.config.get('QUAY_SERVICE_KEY_EXPIRATION', 500))
quay_key_id = create_quay_service_key()
create_jwtproxy_conf(quay_key_id)
# Record deploy