You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "shakeelansari63 (via GitHub)" <gi...@apache.org> on 2024/02/01 14:01:30 UTC
Re: [PR] fix(helm): Include option to use Redis with SSL [superset]
shakeelansari63 commented on code in PR #26663:
URL: https://github.com/apache/superset/pull/26663#discussion_r1474523918
##########
helm/superset/templates/_helpers.tpl:
##########
@@ -85,13 +101,8 @@ SQLALCHEMY_TRACK_MODIFICATIONS = True
class CeleryConfig:
imports = ("superset.sql_lab", )
- {{- if .Values.supersetNode.connections.redis_password }}
- broker_url = f"redis://:{env('REDIS_PASSWORD')}@{env('REDIS_HOST')}:{env('REDIS_PORT')}/0"
- result_backend = f"redis://:{env('REDIS_PASSWORD')}@{env('REDIS_HOST')}:{env('REDIS_PORT')}/0"
- {{- else }}
- broker_url = f"redis://{env('REDIS_HOST')}:{env('REDIS_PORT')}/0"
- result_backend = f"redis://{env('REDIS_HOST')}:{env('REDIS_PORT')}/0"
- {{- end }}
+ broker_url = f"{CELERY_REDIS_URL}"
+ result_backend = f"{CELERY_REDIS_URL}"
Review Comment:
🤦🏻♂️ - Missed while code refactoring.. Will fix this
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org