++
This commit is contained in:
parent
d77e600949
commit
c318ee0ca3
@ -134,9 +134,9 @@ spec:
|
||||
vault.hashicorp.com/agent-pre-populate-only: "true"
|
||||
vault.hashicorp.com/auth-path: auth/kubernetes
|
||||
vault.hashicorp.com/role: notes
|
||||
vault.hashicorp.com/agent-inject-secret-notes-db: secrets/data/postgresql/apps/notes
|
||||
vault.hashicorp.com/agent-inject-secret-notes-db: secrets/data/apps/notes/postgres
|
||||
vault.hashicorp.com/agent-inject-template-notes-db: |-
|
||||
{{- with secret "secrets/data/postgresql/apps/notes" -}}
|
||||
{{- with secret "secrets/data/apps/notes/postgres" -}}
|
||||
PG_HOST={{ index .Data.data "host" }}
|
||||
PG_PORT={{ index .Data.data "port" }}
|
||||
PG_DB={{ index .Data.data "database" }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user