|
@@ -3223,7 +3223,8 @@
|
|
|
<p class="admonition-title">Warning</p>
|
|
<p class="admonition-title">Warning</p>
|
|
|
<p>Templating Engine v1 is <strong>deprecated</strong> and will be removed in the future. Please migrate to engine v2 and take a look at our <a href="../templating/#migrating-from-v1">upgrade guide</a> for changes.</p>
|
|
<p>Templating Engine v1 is <strong>deprecated</strong> and will be removed in the future. Please migrate to engine v2 and take a look at our <a href="../templating/#migrating-from-v1">upgrade guide</a> for changes.</p>
|
|
|
</div>
|
|
</div>
|
|
|
-<p>With External Secrets Operator you can transform the data from the external secret provider before it is stored as <code>Kind=Secret</code>. You can do this with the <code>Spec.Target.Template</code>. Each data value is interpreted as a <a href="https://golang.org/pkg/text/template/">golang template</a>.</p>
|
|
|
|
|
|
|
+<p>With External Secrets Operator you can transform the data from the external secret provider before it is stored as <code>Kind=Secret</code>. You can do this with the <code>Spec.Target.Template</code>.</p>
|
|
|
|
|
+<p>Each data value is interpreted as a <a href="https://golang.org/pkg/text/template/">Go template</a>. Please note that referencing a non-existing key in the template will raise an error, instead of being suppressed.</p>
|
|
|
<h2 id="examples">Examples</h2>
|
|
<h2 id="examples">Examples</h2>
|
|
|
<p>You can use templates to inject your secrets into a configuration file that you mount into your pod:
|
|
<p>You can use templates to inject your secrets into a configuration file that you mount into your pod:
|
|
|
<div class="highlight"><pre><span></span><code><span class="nt">apiVersion</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">external-secrets.io/v1beta1</span>
|
|
<div class="highlight"><pre><span></span><code><span class="nt">apiVersion</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">external-secrets.io/v1beta1</span>
|