Skip to content

Commit 59c966b

Browse files
dittopsclaude
andcommitted
fix(helm): align Novu services Redis DB index to 2
All Novu services (API, Worker, WS, Embed) were using inconsistent Redis DB index values, causing in-app notifications to fail delivery. The Worker publishes notifications to Redis, but the WS service was listening on a different DB index, preventing real-time notification delivery to the frontend. Changes: - Updated api/deployment.yaml to use configurable REDIS_DB_INDEX with default "2" - Updated worker/deployment.yaml to use configurable REDIS_DB_INDEX with default "2" - Updated ws/deployment.yaml to use configurable REDIS_DB_INDEX with default "2" - Updated extra/novu.yaml embed service to use REDIS_DB_INDEX "2" Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 2e95a99 commit 59c966b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

infra/helm/bud/charts/novu/templates/api/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ spec:
110110
- name: REDIS_PORT
111111
value : "{{ include "novu.redis.port" . }}"
112112
- name: REDIS_DB_INDEX
113-
value : "1"
113+
value : {{ .Values.api.env.REDIS_DB_INDEX | default "2" | quote }}
114114
- name: REDIS_CACHE_SERVICE_HOST
115115
value : "{{ include "novu.redis.host" .}}"
116116
- name: REDIS_CACHE_SERVICE_PORT

infra/helm/bud/charts/novu/templates/worker/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ spec:
104104
- name: REDIS_PORT
105105
value : {{ include "novu.redis.port" . | quote }}
106106
- name: REDIS_DB_INDEX
107-
value : "1"
107+
value : {{ .Values.worker.env.REDIS_DB_INDEX | default "2" | quote }}
108108
- name: REDIS_CACHE_SERVICE_HOST
109109
value : {{ include "novu.redis.host" . | quote }}
110110
- name: REDIS_CACHE_SERVICE_PORT

infra/helm/bud/charts/novu/templates/ws/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ spec:
104104
- name: REDIS_PORT
105105
value : {{ include "novu.redis.port" . | quote }}
106106
- name: REDIS_DB_INDEX
107-
value : "1"
107+
value : {{ .Values.ws.env.REDIS_DB_INDEX | default "2" | quote }}
108108
- name: REDIS_PASSWORD
109109
valueFrom :
110110
secretKeyRef:

infra/helm/bud/templates/extra/novu.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ spec:
4141
- name: REDIS_PORT
4242
value : "6379"
4343
- name: REDIS_DB_INDEX
44-
value : "1"
44+
value : "2"
4545
- name: REDIS_PASSWORD
4646
value : "{{ .Values.valkey.auth.password }}"
4747
- name: MONGO_URL

0 commit comments

Comments
 (0)