Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It is not clear how to install State Store on Different namespace #3985

Open
tshaiman opened this issue Jan 28, 2024 · 4 comments
Open

It is not clear how to install State Store on Different namespace #3985

tshaiman opened this issue Jan 28, 2024 · 4 comments
Labels
content/missing-information More information requested or needed help wanted Extra attention is needed

Comments

@tshaiman
Copy link

URL : https://docs.dapr.io/getting-started/tutorials/configure-state-pubsub/#step-1-create-a-redis-store

What content needs to be created or modified?

  • installation steps on installing Redis from bitnami Helm chart needs to take into account the fact that users may want to install the chart on different namespace then the Dapr App will be installed into .
  • the tutorial assume all runs from "Default" namespace.

Describe the solution you'd like

  1. Add explanation on how installation StateStore to differernt namespace is performed
  2. Explain what changes in the Secret fetch mechanism once Redis secret is not on the same Namespace as the App .
    It is mentioned something about Role and RoleBindings to different namespaces , but this is the Auth model , what about referencing
    both the Redis Service from another namespace ? will that change the way the Redis.yaml host looks like ?

Where should the new material be placed?
as a note / remark on the same page.
https://docs.dapr.io/getting-started/tutorials/configure-state-pubsub/#step-1-create-a-redis-store

@tshaiman tshaiman added the content/missing-information More information requested or needed label Jan 28, 2024
@msfussell msfussell added the help wanted Extra attention is needed label Feb 7, 2024
@tshaiman
Copy link
Author

tshaiman commented Feb 7, 2024

any updates on this issue ?

@pdebruin
Copy link

Related dapr/quickstarts#1028

@pdebruin
Copy link

I agree that this can be clarified:

  • Redis can be installed in a different namespace
helm upgrade --install redis bitnami/redis --namespace redis-system --create-namespace --wait
  • The Redis installation automatically creates a Redis secret in that same custom namespace, which needs to be recreated in default namespace
kubectl get secret --namespace redis-system redis -o jsonpath="{.data.redis-password}" | base64 -d
kubectl create secret generic redis --from-literal=redis-password=<output from above>

@pdebruin
Copy link

You could even argue that this shouldn't belong in a tutorial but in operations docs like https://docs.dapr.io/operations/observability/tracing/zipkin/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content/missing-information More information requested or needed help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants