This commit is contained in:
ivan 2026-07-31 14:45:28 +05:00
parent 3fb27a9e53
commit 0d0b2cc5f8

View File

@ -220,10 +220,10 @@ spec:
vault.hashicorp.com/agent-inject-secret-flows-postgresql: secrets/data/postgresql/apps/flows
vault.hashicorp.com/agent-inject-template-flows-postgresql: |-
{{- with secret "secrets/data/postgresql/apps/flows" -}}
PG_DB=flows_db
PG_DB={{ index .Data.data "database" }}
PG_LOGIN={{ index .Data.data "username" }}
PG_HOST=postgresql.flows.svc.cluster.local
PG_PORT=5432
PG_HOST={{ index .Data.data "host" }}
PG_PORT={{ index .Data.data "port" }}
PG_PASSWORD={{ index .Data.data "password" }}
DOCUMENTATION_PG_HOST=postgresql.flows.svc.cluster.local
DOCUMENTATION_PG_PORT=5432