Просмотр исходного кода

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

Signed-off-by: atobaum <atobaum@gmail.com>
Kim Hyunyoung, Abel 2 недель назад
Родитель
Сommit
6271822a4d
1 измененных файлов с 2 добавлено и 0 удалено
  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