++
This commit is contained in:
parent
9f7fa82e0d
commit
cd67f0211e
@ -137,9 +137,9 @@ spec:
|
||||
vault.hashicorp.com/agent-inject-secret-notes-db: secrets/data/postgresql/apps/notes
|
||||
vault.hashicorp.com/agent-inject-template-notes-db: |-
|
||||
{{- with secret "secrets/data/postgresql/apps/notes" -}}
|
||||
PG_HOST=10.222.255.162
|
||||
PG_PORT=5432
|
||||
PG_DB=notes_db
|
||||
PG_HOST={{ index .Data.data "host" }}
|
||||
PG_PORT={{ index .Data.data "port" }}
|
||||
PG_DB={{ index .Data.data "database" }}
|
||||
PG_LOGIN={{ index .Data.data "username" }}
|
||||
PG_PASSWORD={{ index .Data.data "password" }}
|
||||
{{- end -}}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user