mirror of
https://github.com/external-secrets/external-secrets.git
synced 2024-12-14 11:57:59 +00:00
20 lines
385 B
YAML
20 lines
385 B
YAML
|
apiVersion: external-secrets.io/v1beta1
|
||
|
kind: ExternalSecret
|
||
|
metadata:
|
||
|
name: example
|
||
|
spec:
|
||
|
refreshInterval: 1h
|
||
|
secretStoreRef:
|
||
|
kind: SecretStore
|
||
|
name: backend
|
||
|
target:
|
||
|
name: secret-to-be-created
|
||
|
dataFrom:
|
||
|
- find:
|
||
|
path: path/to/my
|
||
|
name:
|
||
|
regexp: secrets
|
||
|
rewrite:
|
||
|
- regexp:
|
||
|
source: "path/to/my/secrets/(.*)"
|
||
|
target: "$1"
|