|
|
@@ -5197,7 +5197,7 @@
|
|
|
<p class="admonition-title">Note</p>
|
|
|
<p>Consider using camelcase when defining <strong>.'spec.data.secretkey'</strong>, example: serviceAccountToken</p>
|
|
|
<p>If your secret keys contain <strong><code>-</code> (dashes)</strong>, you will need to reference them using <strong><code>index</code></strong> </br>
|
|
|
-Example: <strong><code>\{\{ index .data "service-account-token" \}\}</code></strong></p>
|
|
|
+Example: <strong><code>{{ index .data "service-account-token" }}</code></strong></p>
|
|
|
</div>
|
|
|
<h2 id="helm">Helm</h2>
|
|
|
<p>When installing ExternalSecrets via <code>helm</code>, the template must be escaped so that <code>helm</code> will not try to render it. The most straightforward way to accomplish this would be to use backticks (<a href="https://pkg.go.dev/text/template#hdr-Examples">raw string constants</a>):</p>
|