From 0bc6a4fed454d17579486d553153723d1530bb49 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 21 Mar 2019 11:28:57 +0100 Subject: [PATCH] explicitly use redis db --- debian/etc/passbook/config.yml | 2 ++ helm/passbook/templates/passbook-configmap.yaml | 2 +- passbook/lib/default.yml | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/etc/passbook/config.yml b/debian/etc/passbook/config.yml index 9fd285802..ad373bd39 100644 --- a/debian/etc/passbook/config.yml +++ b/debian/etc/passbook/config.yml @@ -11,6 +11,8 @@ debug: false secure_proxy_header: HTTP_X_FORWARDED_PROTO: https rabbitmq: guest:guest@localhost/passbook +redis: localhost/0 + # Error reporting, sends stacktrace to sentry.services.beryju.org error_report_enabled: true diff --git a/helm/passbook/templates/passbook-configmap.yaml b/helm/passbook/templates/passbook-configmap.yaml index 6fcf669a3..1d6ee3ddd 100644 --- a/helm/passbook/templates/passbook-configmap.yaml +++ b/helm/passbook/templates/passbook-configmap.yaml @@ -37,7 +37,7 @@ data: secure_proxy_header: HTTP_X_FORWARDED_PROTO: https rabbitmq: "user:{{ .Values.rabbitmq.rabbitmq.password }}@{{ .Release.Name }}-rabbitmq" - redis: ":{{ .Values.redis.password }}@{{ .Release.Name }}-redis-master" + redis: ":{{ .Values.redis.password }}@{{ .Release.Name }}-redis-master/0" # Error reporting, sends stacktrace to sentry.services.beryju.org error_report_enabled: {{ .Values.config.error_reporting }} diff --git a/passbook/lib/default.yml b/passbook/lib/default.yml index 450581a93..b36d74f65 100644 --- a/passbook/lib/default.yml +++ b/passbook/lib/default.yml @@ -30,7 +30,7 @@ debug: false secure_proxy_header: HTTP_X_FORWARDED_PROTO: https rabbitmq: guest:guest@localhost/passbook -redis: localhost +redis: localhost/0 # Error reporting, sends stacktrace to sentry.services.beryju.org error_report_enabled: true secret_key: 9$@r!d^1^jrn#fk#1#@ks#9&i$^s#1)_13%$rwjrhd=e8jfi_s