node-redis icon indicating copy to clipboard operation
node-redis copied to clipboard

implement nodeAddressMap for sentinel

Open elimelt opened this issue 2 months ago • 2 comments

Description

Describe your pull request here

Adds support for nodeAddressMap to sentinel client options, equivalent to cluster's nodeAddressMap feature.

I'd like to be able to use/test Sentinel from outside a k8s cluster, but returned addresses aren't resolvable to the client

Closes https://github.com/redis/node-redis/issues/3144


Checklist

  • [x] Does npm test pass with this change (including linting)?
  • [x] Is the new or changed code fully tested?
  • [x] Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?

elimelt avatar Dec 05 '25 21:12 elimelt

Hi, I’m Jit, a friendly security platform designed to help developers build secure applications from day zero with an MVS (Minimal viable security) mindset.

In case there are security findings, they will be communicated to you as a comment inside the PR.

Hope you’ll enjoy using Jit.

Questions? Comments? Want to learn more? Get in touch with us.

jit-ci[bot] avatar Dec 05 '25 21:12 jit-ci[bot]

Thank you for the PR. I’ve added it to my review list.

PavelPashov avatar Dec 09 '25 07:12 PavelPashov