mirror of
https://github.com/external-secrets/external-secrets.git
synced 2024-12-14 11:57:59 +00:00
20 lines
480 B
YAML
20 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 %}
|