-
Notifications
You must be signed in to change notification settings - Fork 465
feat: add Redis Sentinel and TLS support in TrueForge #765
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
8cc30c8
feat: add Redis Sentinel and TLS support in TrueForge
thesujai 00ac363
fix: update return type of connectSentinelWithRetry to match createSe…
thesujai 55f843d
docs: update README and values.yaml for external Redis configuration …
thesujai 6c48eea
Regenerate OpenAPI document and SDKs
trueforge-dev-bot[bot] 46d54ba
chart: fail on external Redis combinations the app ignores or rejects
ramantehlan 1fc771f
feat: enhance Redis Sentinel and TLS support with exclusive transport…
thesujai 800551b
Merge remote-tracking branch 'origin/feat/redis-connection-options' i…
thesujai 7a77963
Merge branch 'main' into feat/redis-connection-options
thesujai b5b0b9d
Update sessions.ts
thesujai 3efb052
feat: refine Redis Sentinel and TLS configuration with optional Redis…
thesujai 5543903
chart: bump to 0.2.3, accept valueFrom for tls.serverName
ramantehlan 38a8ff9
Merge branch 'main' into feat/redis-connection-options
ramantehlan 5984b79
fix: prevent stopping heartbeat on transient errors in RequestReplyEx…
thesujai dd8b6c0
Address Chirag review on Redis Sentinel/TLS PR.
thesujai bec846a
refactor: update Redis URL encoding and change type definition for Re…
thesujai a3710bd
Bracket IPv6 hosts when building Redis standalone URLs.
thesujai 2cffeee
chart: drop the obsolete rediss:// requirement for TLS
ramantehlan 6d6143b
feat: enhance buildRedisStandaloneUrl to support IPv6 host formatting…
thesujai 122e91d
Merge branch 'main' into feat/redis-connection-options
thesujai 35d7020
fix: remove unnecessary line breaks in buildRedisStandaloneUrl functi…
thesujai 4b04f86
chart: expose externalRedis.tls.rejectUnauthorized
ramantehlan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| '@truefoundry/trueforge': minor | ||
| '@truefoundry/trueforge-core': minor | ||
| --- | ||
|
|
||
| Add Redis Sentinel + TLS with exclusive transport fail-fast (`REDIS_CONNECTION` DU). Redis is optional at config load for controller/migrate; server still requires it at connect. Sentinel shared-client errors no longer stop the peering heartbeat. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| import type { RedisClientType, RedisSentinelType } from 'redis'; | ||
|
|
||
| /** Standalone or Sentinel client for request-reply / command use. */ | ||
| export type RedisClient = RedisClientType | RedisSentinelType; |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.