From 6ef446cdd9892433dc24d6cd763a118d28e59661 Mon Sep 17 00:00:00 2001 From: Jonas Thelemann Date: Wed, 26 Feb 2025 01:13:03 +0100 Subject: [PATCH] feat(postgres)!: rename maevsi's role secret --- README.md | 4 ++-- ...ssword.secret => role_maevsi_password.secret} | 0 ...late => role_maevsi_password.secret.template} | 0 ...ername.secret => role_maevsi_username.secret} | 0 ...late => role_maevsi_username.secret.template} | 0 src/development/stack.yml | 16 ++++++++-------- src/production/production.yml | 4 ++-- 7 files changed, 12 insertions(+), 12 deletions(-) rename src/development/secrets/postgres/{role_maevsi-tusd_password.secret => role_maevsi_password.secret} (100%) rename src/development/secrets/postgres/{role_maevsi-tusd_password.secret.template => role_maevsi_password.secret.template} (100%) rename src/development/secrets/postgres/{role_maevsi-tusd_username.secret => role_maevsi_username.secret} (100%) rename src/development/secrets/postgres/{role_maevsi-tusd_username.secret.template => role_maevsi_username.secret.template} (100%) diff --git a/README.md b/README.md index 100807a1..eefad3c1 100644 --- a/README.md +++ b/README.md @@ -110,11 +110,11 @@ This project is deployed in accordance to the [DargStack template](https://githu The `maevsi_postgraphile` database role's username. - - ### `postgres_role_maevsi-tusd_password` + - ### `postgres_role_maevsi_password` The `tusd` database role's password. - - ### `postgres_role_maevsi-tusd_username` + - ### `postgres_role_maevsi_username` The `tusd` database role's password. diff --git a/src/development/secrets/postgres/role_maevsi-tusd_password.secret b/src/development/secrets/postgres/role_maevsi_password.secret similarity index 100% rename from src/development/secrets/postgres/role_maevsi-tusd_password.secret rename to src/development/secrets/postgres/role_maevsi_password.secret diff --git a/src/development/secrets/postgres/role_maevsi-tusd_password.secret.template b/src/development/secrets/postgres/role_maevsi_password.secret.template similarity index 100% rename from src/development/secrets/postgres/role_maevsi-tusd_password.secret.template rename to src/development/secrets/postgres/role_maevsi_password.secret.template diff --git a/src/development/secrets/postgres/role_maevsi-tusd_username.secret b/src/development/secrets/postgres/role_maevsi_username.secret similarity index 100% rename from src/development/secrets/postgres/role_maevsi-tusd_username.secret rename to src/development/secrets/postgres/role_maevsi_username.secret diff --git a/src/development/secrets/postgres/role_maevsi-tusd_username.secret.template b/src/development/secrets/postgres/role_maevsi_username.secret.template similarity index 100% rename from src/development/secrets/postgres/role_maevsi-tusd_username.secret.template rename to src/development/secrets/postgres/role_maevsi_username.secret.template diff --git a/src/development/stack.yml b/src/development/stack.yml index 39058547..998874c3 100644 --- a/src/development/stack.yml +++ b/src/development/stack.yml @@ -61,12 +61,12 @@ secrets: postgres_role_maevsi-postgraphile_username: # The `maevsi_postgraphile` database role's username. file: ./secrets/postgres/role_maevsi-postgraphile_username.secret - postgres_role_maevsi-tusd_password: + postgres_role_maevsi_password: # The `tusd` database role's password. - file: ./secrets/postgres/role_maevsi-tusd_password.secret - postgres_role_maevsi-tusd_username: + file: ./secrets/postgres/role_maevsi_password.secret + postgres_role_maevsi_username: # The `tusd` database role's password. - file: ./secrets/postgres/role_maevsi-tusd_username.secret + file: ./secrets/postgres/role_maevsi_username.secret postgres_user: # The database's default user. file: ./secrets/postgres/user.secret @@ -211,9 +211,9 @@ services: target: /run/environment-variables/NUXT_TURNSTILE_SECRET_KEY - source: postgres_db target: /run/environment-variables/PGDATABASE - - source: postgres_role_maevsi-tusd_password + - source: postgres_role_maevsi_password target: /run/environment-variables/PGPASSWORD - - source: postgres_role_maevsi-tusd_username + - source: postgres_role_maevsi_username target: /run/environment-variables/PGUSER user: node:node # files created inside a docker container, like node_modules by pnpm, gain correct permissions by setting the user to `node` volumes: @@ -398,8 +398,8 @@ services: - postgres_role_grafana_username - postgres_role_maevsi-postgraphile_password - postgres_role_maevsi-postgraphile_username - - postgres_role_maevsi-tusd_password - - postgres_role_maevsi-tusd_username + - postgres_role_maevsi_password + - postgres_role_maevsi_username - sqitch_target volumes: - ../../../sqitch/:/srv/app/ diff --git a/src/production/production.yml b/src/production/production.yml index 73d67d1e..d6b04b97 100644 --- a/src/production/production.yml +++ b/src/production/production.yml @@ -88,9 +88,9 @@ services: target: /run/environment-variables/NUXT_TURNSTILE_SECRET_KEY - source: postgres_db target: /run/environment-variables/PGDATABASE - - source: postgres_role_maevsi-tusd_password + - source: postgres_role_maevsi_password target: /run/environment-variables/PGPASSWORD - - source: postgres_role_maevsi-tusd_username + - source: postgres_role_maevsi_username target: /run/environment-variables/PGUSER volumes: - ./configurations/postgraphile/jwtRS256.key.pub:/run/environment-variables/NUXT_PUBLIC_VIO_AUTH_JWT_PUBLIC_KEY:ro