1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-15 17:51:01 +00:00
external-secrets/docs/snippets/helm-template-v2-escape-sequence.yaml
rteeling ddae00dd6d
Documentation: callout templating escapes for helm users (#2704)
* callout templating escapes for helm users

Signed-off-by: rteeling <rteeling@users.noreply.github.com>

* quote the snippet file

Signed-off-by: rteeling <rteeling@users.noreply.github.com>

---------

Signed-off-by: rteeling <rteeling@users.noreply.github.com>
Co-authored-by: rteeling <rteeling@users.noreply.github.com>
2023-09-20 21:20:14 +02:00

19 lines
No EOL
454 B
YAML

{% raw %}
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: template
spec:
# ...
target:
template:
engineVersion: v2
data:
name: admin
# password: "{{ .mysecret }}" # If you are using plain manifests or gitops tools
password: "{{ `{{ .mysecret }}` }}" # If you are using helm
data:
- secretKey: mysecret
remoteRef:
key: /credentials
{% endraw %}