File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
charts/sentry/templates/sentry Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -208,7 +208,9 @@ sentry.conf.py: |-
208
208
BROKER_URL = os.environ.get("BROKER_URL", "amqp://{ { .Values.rabbitmq.auth.username } }:{ { .Values.rabbitmq.auth.password } }@{ { template " sentry.rabbitmq.host" . } }:5672/{ { .Values.rabbitmq.vhost } }")
209
209
{ {- else if $redisPass } }
210
210
BROKER_URL = os.environ.get("BROKER_URL", "{ { $redisProto } }://:{ { $redisPass } }@{ { $redisHost } }:{ { $redisPort } }/{ { $redisDb } }")
211
- { {- else if and (not .Values.externalRedis.existingSecret) (not .Values.redis.auth.existingSecret)} }
211
+ { {- else if or (not .Values.externalRedis.existingSecret) (not .Values.redis.auth.existingSecret)} }
212
+ BROKER_URL = os.environ.get("BROKER_URL", f"{ { $redisProto } }://:{ os.environ.get(" REDIS_PASSWORD" )} @{ { $redisHost } }:{ { $redisPort } }/{ { $redisDb } }")
213
+ { {- else } }
212
214
BROKER_URL = os.environ.get("BROKER_URL", "{ { $redisProto } }://{ { $redisHost } }:{ { $redisPort } }/{ { $redisDb } }")
213
215
{ {- end } }
214
216
You can’t perform that action at this time.
0 commit comments