mirror of
https://github.com/external-secrets/external-secrets.git
synced 2024-12-14 11:57:59 +00:00
b4e7acfaa9
* Implements dataFrom key rewrite Co-authored-by: Moritz Johner <moolen@users.noreply.github.com> Signed-off-by: Gustavo Carvalho <gusfcarvalho@gmail.com> * docs: add example to remove invalid characters Signed-off-by: Moritz Johner <beller.moritz@googlemail.com> Co-authored-by: Moritz Johner <moolen@users.noreply.github.com> Co-authored-by: Moritz Johner <beller.moritz@googlemail.com>
20 lines
No EOL
385 B
YAML
20 lines
No EOL
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" |