Redis binding spec
Detailed documentation on the Redis binding component
Setup Dapr component
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
name: <NAME>
namespace: <NAMESPACE>
spec:
type: bindings.redis
version: v1
metadata:
- name: redisHost
value: <address>:6379
- name: redisPassword
value: **************
- name: enableTLS
value: <bool>
redisHost
is the Redis host address.redisPassword
is the Redis password.enableTLS
- If the Redis instance supports TLS with public certificates it can be configured to enable or disable TLS.
Warning
The above example uses secrets as plain strings. It is recommended to use a secret store for the secrets as described here.
Output Binding Supported Operations
- create
Related links
- Bindings building block
- How-To: Trigger application with input binding
- How-To: Use bindings to interface with external resources
- Bindings API reference
Last modified February 16, 2021: Merge pull request #1235 from dapr/update-v0.11 (b4e9fbb)