Remove unneeded service key expiration
This commit is contained in:
parent
9ffc32f680
commit
47a52a47eb
1 changed files with 2 additions and 2 deletions
4
boot.py
4
boot.py
|
@ -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
|
||||
|
|
Reference in a new issue