-
Notifications
You must be signed in to change notification settings - Fork 10
/
statestore.yaml
49 lines (47 loc) · 1003 Bytes
/
statestore.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# apiVersion: dapr.io/v1alpha1
# kind: Component
# metadata:
# name: statestore
# spec:
# type: state.redis
# metadata:
# - name: redisHost
# value: localhost:6379
# - name: redisPassword
# value: ""
# - name: actorStateStore
# value: "true"
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
name: statestore
spec:
type: state.redis
metadata:
- name: actorStateStore
value: "true"
- name: redisHost
value: redis-master.default.svc.cluster.local:6379
- name: redisPassword
secretKeyRef:
name: redis
key: redis-password
auth:
secretStore: kubernetes
# apiVersion: dapr.io/v1alpha1
# kind: Component
# metadata:
# name: statestore
# spec:
# type: state.azure.cosmosdb
# metadata:
# - name: url
# value: https://dapr-talk.documents.azure.com:443/
# - name: masterKey
# secretKeyRef:
# name: azure-cosmos
# key: access-key
# - name: database
# value: daprtalk
# - name: collection
# value: orders