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

rasa-x-redis secret #290

Open
nyejon opened this issue Apr 20, 2022 · 4 comments
Open

rasa-x-redis secret #290

nyejon opened this issue Apr 20, 2022 · 4 comments

Comments

@nyejon
Copy link

nyejon commented Apr 20, 2022

Hi,

Can you please enable redis to use a custom secret name like rabbit?

# -- Existing secret with RabbitMQ credentials (must contain a value for `rabbitmq-password` key)
    existingPasswordSecret: ""

At the moment it is forced to use a secret with the name: rasa-x-redis

Thanks

@sara-tagger
Copy link

Thanks for raising this issue, @kedz will get back to you about it soon✨

Please also check out the docs and the forum in case your issue was raised there too 🤗

@nyejon
Copy link
Author

nyejon commented Apr 21, 2022

I think the .auth. is missing here:

it should be .Values.redis.auth.existingSecret

{{- if and .Values.redis.install .Values.redis.existingSecret -}}
{{- coalesce .Values.redis.existingSecretPasswordKey "redis-password" | quote -}}
{{- else if .Values.redis.install -}}
"redis-password"
{{- else -}}
{{- default "redis-password" .Values.redis.existingSecretPasswordKey | quote -}}

@nyejon
Copy link
Author

nyejon commented Apr 27, 2022

You can get around this by putting the existingSecret and existingSecretPasswordKey in the values file after the redis key.

@BlueCog
Copy link

BlueCog commented Sep 16, 2022

Yes i had the same issue just now!

My solution for now is (via override file):

  redis:
    auth:
      existingSecret: custom-redis-secrets
    existingSecret: custom-redis-secrets

so redis.auth.existingSecret for setting the secret for Redis
and redis.existingSecret is the workaround so that the templating (_redis.tpl) picks up the right (custom) secret name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants