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/gcpsm-docker-config-externalsecret.yaml
Joseph Villarreal Lopez 749337d070
Update gcpsm-docker-config-externalsecret.yaml
name entry is duplicated
2022-04-26 16:24:42 -06:00

22 lines
475 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
data:
.dockerconfigjson: "{{ .mysecret | toString }}"
name: secret-to-be-created
creationPolicy: Owner
data:
- secretKey: mysecret
remoteRef:
key: docker-config-example
{% endraw %}