Browse Source

fix(docs): resolve macro syntax error in templating guide (#6171)

Co-authored-by: manvitha92 <62259625+manvitha92@users.noreply.github.com>
ManvithaP 1 week ago
parent
commit
ba115dceaf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/guides/templating.md

+ 1 - 1
docs/guides/templating.md

@@ -9,7 +9,7 @@ Each data value is interpreted as a [Go template](https://golang.org/pkg/text/te
     Consider using camelcase when defining  **.'spec.data.secretkey'**, example: serviceAccountToken
     Consider using camelcase when defining  **.'spec.data.secretkey'**, example: serviceAccountToken
 
 
     If your secret keys contain **`-` (dashes)**, you will need to reference them using **`index`** </br>
     If your secret keys contain **`-` (dashes)**, you will need to reference them using **`index`** </br>
-    Example: {% raw %}**`{{ index .data "service-account-token" }}`**{% endraw %}
+    Example: **`{% raw %}{{ index .data "service-account-token" }}{% endraw %}`**
 
 
 ## Helm
 ## Helm