From 2ae816ac65c06e23886993cc2bccefed6367f426 Mon Sep 17 00:00:00 2001 From: f-w Date: Tue, 10 Dec 2024 11:39:12 -0800 Subject: [PATCH] use sentinels in Helm --- .vscode/settings.json | 1 + helm/templates/configmap.yaml | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 96c895fa1..eb3570ed6 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -55,6 +55,7 @@ "materialdesignicons", "mongoimport", "mongorestore", + "mymaster", "NDRs", "nlike", "nonexpired", diff --git a/helm/templates/configmap.yaml b/helm/templates/configmap.yaml index 68079d090..5e18bb49d 100644 --- a/helm/templates/configmap.yaml +++ b/helm/templates/configmap.yaml @@ -18,8 +18,12 @@ data: }, queue: { connection: { - host: process.env.REDIS_SERVICE_NAME, + sentinels: [ + { host: process.env.REDIS_SERVICE_NAME }, + ], + name: 'mymaster', password: process.env.REDIS_PASSWORD, + sentinelPassword: process.env.REDIS_PASSWORD, }, }, }