docs icon indicating copy to clipboard operation
docs copied to clipboard

Suggestion: Make use of Secrets

Open jellebens opened this issue 6 years ago • 1 comments

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

jellebens avatar Jul 02 '20 12:07 jellebens

https://v1-rc2.docs.dapr.io/getting-started/configure-state-pubsub/ now references secret

AaronCrawfis avatar Dec 17 '20 00:12 AaronCrawfis