mirror of
https://github.com/external-secrets/external-secrets.git
synced 2024-12-14 11:57:59 +00:00
18 lines
432 B
YAML
18 lines
432 B
YAML
---
|
|
apiVersion: external-secrets.io/v1beta1
|
|
kind: ExternalSecret
|
|
metadata:
|
|
name: example-secret
|
|
spec:
|
|
refreshInterval: "30s"
|
|
secretStoreRef:
|
|
name: senhasegura
|
|
kind: SecretStore
|
|
target:
|
|
name: example-secret
|
|
dataFrom:
|
|
# Define Kubernetes Secret key with any k/v pair in senhasegura Secret with identifier "api-settings" or "db-settings"
|
|
- extract:
|
|
key: api-settings
|
|
- extract:
|
|
key: db-settings
|