Redis binding spec

Detailed documentation on the Redis binding component

Setup Dapr component

  1. apiVersion: dapr.io/v1alpha1
  2. kind: Component
  3. metadata:
  4. name: <NAME>
  5. namespace: <NAMESPACE>
  6. spec:
  7. type: bindings.redis
  8. version: v1
  9. metadata:
  10. - name: redisHost
  11. value: <address>:6379
  12. - name: redisPassword
  13. value: **************
  14. - name: enableTLS
  15. 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

Last modified February 16, 2021: Merge pull request #1235 from dapr/update-v0.11 (b4e9fbb)