docs
docs copied to clipboard
Suggestion: Make use of Secrets
https://github.com/dapr/docs/blob/master/howto/configure-redis/README.md#configuring-redis-for-pubsub
Would it be possible update document to make use of secrets rather than hard-coded variables?
e.g. kubectl create secret generic redis --from-literal=passphrase=$REDIS_PASSWORD -n dapr-system
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
name: messagebus
namespace: dapr-system
spec:
type: pubsub.redis
metadata:
- name: redisHost
value: $REDIS_HOST
- name: redisPassword
secretKeyRef:
name: redis
key: passphrase
https://v1-rc2.docs.dapr.io/getting-started/configure-state-pubsub/ now references secret