Explorar o código

docs(webhook): escape Go template examples with {% raw %} (#6852)

Signed-off-by: atobaum <atobaum@gmail.com>
Kim Hyunyoung, Abel hai 1 semana
pai
achega
6271822a4d
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      docs/provider/webhook.md

+ 2 - 0
docs/provider/webhook.md

@@ -356,9 +356,11 @@ secrets:
       name: webhook-credentials
 ```
 
+{% raw %}
 the values are `{{ .creds.username }}` and `{{ .creds.password }}`. Referring to
 `{{ .creds }}` renders a Go map rather than a value. Note also that every key of the
 referenced secret is exposed; a `key` field on the `secretRef` does not narrow it.
+{% endraw %}
 
 #### A templated `url` is validated before templating