Skip to content

Commit

Permalink
use sentinels in Helm
Browse files Browse the repository at this point in the history
  • Loading branch information
f-w committed Dec 10, 2024
1 parent 1ac00cc commit 972b580
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
"materialdesignicons",
"mongoimport",
"mongorestore",
"mymaster",
"NDRs",
"nlike",
"nonexpired",
Expand Down
6 changes: 5 additions & 1 deletion helm/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
},
}
Expand Down

0 comments on commit 972b580

Please sign in to comment.