mirror of
https://github.com/external-secrets/external-secrets.git
synced 2024-12-15 17:51:01 +00:00
23 lines
496 B
YAML
23 lines
496 B
YAML
{% raw %}
|
|
apiVersion: external-secrets.io/v1beta1
|
|
kind: ExternalSecret
|
|
metadata:
|
|
name: dk-cfg-example
|
|
spec:
|
|
refreshInterval: 1h
|
|
secretStoreRef:
|
|
name: example
|
|
kind: SecretStore
|
|
target:
|
|
template:
|
|
type: kubernetes.io/dockerconfigjson
|
|
engineVersion: v2
|
|
data:
|
|
.dockerconfigjson: "{{ `{{ .mysecret }}` }}"
|
|
name: secret-to-be-created
|
|
creationPolicy: Owner
|
|
data:
|
|
- secretKey: mysecret
|
|
remoteRef:
|
|
key: docker-config-example
|
|
{% endraw %}
|