Skip to content

Commit

Permalink
backport of commit 7baf241 (hashicorp#20297)
Browse files Browse the repository at this point in the history
Co-authored-by: John Children <32305209+johnchildren@users.noreply.github.com>
  • Loading branch information
1 parent cbf312b commit 5b6b8fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/content/docs/platform/k8s/injector/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ vault.hashicorp.com/agent-inject-template-<unique-name>: |
For example, consider the following:

```yaml
vault.hashicorp.com/agent-inject-secret-foo: 'database/roles/app'
vault.hashicorp.com/agent-inject-secret-foo: 'database/creds/db-app'
vault.hashicorp.com/agent-inject-template-foo: |
{{- with secret "database/creds/db-app" -}}
postgres://{{ .Data.username }}:{{ .Data.password }}@postgres:5432/mydb?sslmode=disable
Expand Down

0 comments on commit 5b6b8fa

Please sign in to comment.