fix secrets
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Moritz 2023-07-19 22:53:35 +02:00
parent 84204b03a7
commit 7b1b5c37ed
3 changed files with 7 additions and 5 deletions

View File

@ -14,8 +14,8 @@ SYNAPSE_ADMIN_EMAIL=admin@example.com
SECRET_DB_PASSWORD_VERSION=v1
SECRET_FORM_SECRET_VERSION=v1
SECRET_MACAROON_SECRET_KEY_VERSION=v1
SECRET_REGISTRATION_SHARED_SECRET_VERSION=v1
SECRET_MACAROON_VERSION=v1
SECRET_REGISTRATION_VERSION=v1
## Federation

View File

@ -128,10 +128,10 @@ secrets:
name: ${STACK_NAME}_db_password_${SECRET_DB_PASSWORD_VERSION}
registration_shared_secret:
external: true
name: ${STACK_NAME}_db_password_${SECRET_REGISTRATION_SHARED_SECRET_VERSION}
name: ${STACK_NAME}_registration_${SECRET_REGISTRATION_VERSION}
macaroon_secret_key:
external: true
name: ${STACK_NAME}_db_password_${SECRET_MACAROON_SECRET_KEY_VERSION}
name: ${STACK_NAME}_macaroon_${SECRET_MACAROON_VERSION}
form_secret:
external: true
name: ${STACK_NAME}_db_password_${SECRET_FORM_SECRET_VERSION}
name: ${STACK_NAME}_form_secret_${SECRET_FORM_SECRET_VERSION}

2
release/next Normal file
View File

@ -0,0 +1,2 @@
Copy the secrets registration_shared_secret to registration and macaroon_secret_key to macaroon.
Regeneration of these secrets should also work.