mirror of
https://github.com/external-secrets/external-secrets.git
synced 2024-12-15 17:51:01 +00:00
ddae00dd6d
* 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>
19 lines
No EOL
454 B
YAML
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 %} |