fix
This commit is contained in:
@@ -30,9 +30,9 @@ spec:
|
||||
annotations:
|
||||
vault.hashicorp.com/agent-inject: 'true'
|
||||
vault.hashicorp.com/role: 'vault-test'
|
||||
vault.hashicorp.com/agent-inject-secret-credentials.txt: 'kv/secret/data/vault-test/config'
|
||||
vault.hashicorp.com/agent-inject-template-credentials.txt: |
|
||||
{{- with secret "kv/secret/data/vault-test/config" -}}
|
||||
vault.hashicorp.com/agent-inject-secret-credentials: 'kv/secret/vault-test'
|
||||
vault.hashicorp.com/agent-inject-template-credentials: |
|
||||
{{- with secret "kv/secret/vault-test" -}}
|
||||
postgresql://{{ .Data.data.username }}:{{ .Data.data.password }}@{{ .Data.data.psqlhost }}:5432/{{ .Data.data.database }}
|
||||
{{- end -}}
|
||||
spec:
|
||||
|
Reference in New Issue
Block a user