1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-14 11:57:59 +00:00
external-secrets/docs/snippets/multikey-template-v2-external-secret.yaml
DJΞRFY 55e0c50b30
📚 feat: improve docs (#1749)
Signed-off-by: Djerfy <djerfy@gmail.com>
2022-12-04 08:08:12 -03:00

19 lines
480 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: '{{ printf "{{ .mysecret }}" }}' # If you are using templated tools like helm
data:
- secretKey: mysecret
remoteRef:
key: /credentials
{% endraw %}