Fixed a typo in the "Environment Variable Example" because it was generating a parsing error (#20574)
Fixed a typo in the "Environment Variable Example" because it was generating a parsing error: template server error: error="(dynamic): execute: template: :2:30: executing \"\" at <.Data.data.payments_api_key>: can't evaluate field data in type *dependency.Secret"
This commit is contained in:
parent
fcfd0f9bb8
commit
023d847182
|
@ -276,7 +276,7 @@ spec:
|
|||
vault.hashicorp.com/agent-inject-secret-config: 'secret/data/web'
|
||||
# Environment variable export template
|
||||
vault.hashicorp.com/agent-inject-template-config: |
|
||||
{{ with secret "secret/data/web" -}}
|
||||
{{- with secret "secret/data/web" -}}
|
||||
export api_key="{{ .Data.data.payments_api_key }}"
|
||||
{{- end }}
|
||||
spec:
|
||||
|
|
Loading…
Reference in New Issue