Last active
July 24, 2024 05:41
-
-
Save paulyuk/83fb7202d5b68decd3a7f861cc86d17f to your computer and use it in GitHub Desktop.
redis.yaml that works with `dapr init -k --dev`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: dapr.io/v1alpha1 | |
kind: Component | |
metadata: | |
name: statestore | |
spec: | |
type: state.redis | |
version: v1 | |
metadata: | |
# These settings will work out of the box if you use `helm install | |
# bitnami/redis`. If you have your own setup, replace | |
# `redis-master:6379` with your own Redis master address, and the | |
# Redis password with your own Secret's name. For more information, | |
# see https://docs.dapr.io/operations/components/component-secrets | |
- name: redisHost | |
value: dapr-dev-redis-master:6379 | |
- name: redisPassword | |
secretKeyRef: | |
name: dapr-dev-redis | |
key: redis-password | |
auth: | |
secretStore: kubernetes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment