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
+19 -37
View File
@@ -7,50 +7,32 @@ spec:
fake:
data:
- key: "applications/shiny/accounting-service"
valueMap:
SENTRY_DSN: ""
SENTRY_DISABLED: "true"
value: '{"SENTRY_DSN": "", "SENTRY_DISABLED": "true"}'
- key: "applications/shiny/authz-service"
valueMap:
SENTRY_DSN: ""
SENTRY_DISABLED: "true"
value: '{"SENTRY_DSN": "", "SENTRY_DISABLED": "true"}'
- key: "applications/shiny/company-service"
valueMap:
SENTRY_DSN: ""
SENTRY_DISABLED: "true"
value: '{"SENTRY_DSN": "", "SENTRY_DISABLED": "true"}'
- key: "applications/shiny/consumer-service"
valueMap:
SENTRY_DSN: ""
SENTRY_DISABLED: "true"
value: '{"SENTRY_DSN": "", "SENTRY_DISABLED": "true"}'
- key: "applications/shiny/employee-service"
valueMap:
SENTRY_DSN: ""
SENTRY_DISABLED: "true"
value: '{"SENTRY_DSN": "", "SENTRY_DISABLED": "true"}'
- key: "applications/shiny/invoice-service"
valueMap:
SENTRY_DSN: ""
SENTRY_DISABLED: "true"
value: '{"SENTRY_DSN": "", "SENTRY_DISABLED": "true"}'
- key: "applications/shiny/notification-service"
valueMap:
SENTRY_DSN: ""
SENTRY_DISABLED: "true"
value: '{"SENTRY_DSN": "", "SENTRY_DISABLED": "true"}'
- key: "applications/shiny/salary-service"
valueMap:
SENTRY_DSN: ""
SENTRY_DISABLED: "true"
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"
valueMap:
SENTRY_DSN: ""
SENTRY_DISABLED: "true"
value: '{"SENTRY_DSN": "", "SENTRY_DISABLED": "true"}'
- key: "applications/shiny/gateway"
valueMap:
ISSUER: "auth0"
STRICT_SSL: "false"
value: '{"API_KEY": "us_ak_vUj37A1ukjIfhkJH"}'
- 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"
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"}'