refactor(secrets-store): streamline configuration format

Convert value mapping to JSON strings for services and secrets. This 
change simplifies the structure, improves readability, and ensures 
consistency across service configurations.
This commit is contained in:
2025-04-15 08:40:07 +02:00
parent 4a691e6773
commit 97a8647798
+30 -48
View File
@@ -6,51 +6,33 @@ spec:
provider:
fake:
data:
- key: "applications/shiny/accounting-service"
valueMap:
SENTRY_DSN: ""
SENTRY_DISABLED: "true"
- key: "applications/shiny/authz-service"
valueMap:
SENTRY_DSN: ""
SENTRY_DISABLED: "true"
- key: "applications/shiny/company-service"
valueMap:
SENTRY_DSN: ""
SENTRY_DISABLED: "true"
- key: "applications/shiny/consumer-service"
valueMap:
SENTRY_DSN: ""
SENTRY_DISABLED: "true"
- key: "applications/shiny/employee-service"
valueMap:
SENTRY_DSN: ""
SENTRY_DISABLED: "true"
- key: "applications/shiny/invoice-service"
valueMap:
SENTRY_DSN: ""
SENTRY_DISABLED: "true"
- key: "applications/shiny/notification-service"
valueMap:
SENTRY_DSN: ""
SENTRY_DISABLED: "true"
- key: "applications/shiny/salary-service"
valueMap:
SENTRY_DSN: ""
SENTRY_DISABLED: "true"
- key: "applications/shiny/time-service"
valueMap:
SENTRY_DSN: ""
SENTRY_DISABLED: "true"
- key: "applications/shiny/gateway"
valueMap:
ISSUER: "auth0"
STRICT_SSL: "false"
- key: "rds/postgres/prod-psql"
valueMap:
POSTGRES_URL: "postgres://postgres:postgres@postgres:5432/postgres?sslmode=disable"
DB_HOST: "postgres"
DB_NAME: "postgres"
DB_PASSWORD: "postgres"
DB_PORT: "5432"
DB_USERNAME: "postgres"
- key: "applications/shiny/accounting-service"
value: '{"SENTRY_DSN": "", "SENTRY_DISABLED": "true"}'
- key: "applications/shiny/authz-service"
value: '{"SENTRY_DSN": "", "SENTRY_DISABLED": "true"}'
- key: "applications/shiny/company-service"
value: '{"SENTRY_DSN": "", "SENTRY_DISABLED": "true"}'
- key: "applications/shiny/consumer-service"
value: '{"SENTRY_DSN": "", "SENTRY_DISABLED": "true"}'
- key: "applications/shiny/employee-service"
value: '{"SENTRY_DSN": "", "SENTRY_DISABLED": "true"}'
- key: "applications/shiny/invoice-service"
value: '{"SENTRY_DSN": "", "SENTRY_DISABLED": "true"}'
- key: "applications/shiny/notification-service"
value: '{"SENTRY_DSN": "", "SENTRY_DISABLED": "true"}'
- key: "applications/shiny/salary-service"
value: '{"SENTRY_DSN": "", "SENTRY_DISABLED": "true"}'
- key: "applications/shiny/supplier-service"
value: '{"SENTRY_DSN": "", "SENTRY_DISABLED": "true"}'
- key: "applications/shiny/supplier-invoice-service"
value: '{"SENTRY_DSN": "", "SENTRY_DISABLED": "true"}'
- key: "applications/shiny/time-service"
value: '{"SENTRY_DSN": "", "SENTRY_DISABLED": "true"}'
- key: "applications/shiny/gateway"
value: '{"API_KEY": "us_ak_vUj37A1ukjIfhkJH"}'
- key: "rds/postgres/prod-psql"
value: '{"POSTGRES_URL": "postgres://postgres:postgres@postgres:5432/postgres?sslmode=disable", "DB_HOST": "postgres", "DB_NAME": "postgres", "DB_PASSWORD": "postgres", "DB_PORT": "5432", "DB_USERNAME": "postgres"}'
- key: "mq/rabbit/prod"
value: '{"AMQP_URL": "amqp://user:password@rabbitmq:5672/"}'
- key: "services/schemas"
value: '{"ISSUER": "auth0", "STRICT_SSL": "false"}'