-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
fix(cli): Add Redis password to forwardCacheClient
struct (#19035)
#19599
fix(cli): Add Redis password to forwardCacheClient
struct (#19035)
#19599
Conversation
Signed-off-by: Netanel Kadosh <kadoshnetanel@gmail.com>
❌ Preview Environment deleted from BunnyshellAvailable commands (reply to this comment):
|
❌ Preview Environment deleted from BunnyshellAvailable commands (reply to this comment):
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #19599 +/- ##
=========================================
Coverage ? 55.84%
=========================================
Files ? 316
Lines ? 43739
Branches ? 0
=========================================
Hits ? 24427
Misses ? 16758
Partials ? 2554 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we somehow test this, so that we won't run into a regression later on?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed, with tests this is a slam dunk.
How can I test the headless mode? I would be happy to have some help with it |
who gon merge dis |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix is fine, tested it locally also, it solves the issue.
Checking if here an easy way to cover this issue with e2e
@jannfis @todaywasawesome i am going to merge this PR. Here no easy way to cover core mode with e2e tests today and same with unit. It definitely makes sense to do it, but it will requires pretty big effort to do it. I think we need to merge it, because this PR fix an issue and making things better. @NetanelK thank you, and sorry for delay in review |
/cherry-pick release-2.13 |
Signed-off-by: Netanel Kadosh <kadoshnetanel@gmail.com>
Signed-off-by: Netanel Kadosh <kadoshnetanel@gmail.com> Co-authored-by: Netanel Kadosh <kadoshnetanel@gmail.com>
@pasha-codefresh, will this be added to older releases as a fix? |
/cherry-pick release-2.12 |
/cherry-pick release-2.11 |
/cherry-pick release-2.12 |
@pasha-codefresh when should we expect the 2.11/12 releases to come through? |
@purajit it requires manual cherry-picking, i will do it today, and release itself we can do for example next Monday |
did this happen @pasha-codefresh ? |
Signed-off-by: Netanel Kadosh <kadoshnetanel@gmail.com>
Signed-off-by: Netanel Kadosh <kadoshnetanel@gmail.com>
@pasha-codefresh I've created cherrypick PRs (#20261, #20262) for this fix, can you take a look? |
Signed-off-by: Netanel Kadosh <kadoshnetanel@gmail.com>
Signed-off-by: Netanel Kadosh <kadoshnetanel@gmail.com>
Signed-off-by: Netanel Kadosh <kadoshnetanel@gmail.com>
Signed-off-by: Netanel Kadosh <kadoshnetanel@gmail.com>
Signed-off-by: Netanel Kadosh <kadoshnetanel@gmail.com>
Signed-off-by: Netanel Kadosh <kadoshnetanel@gmail.com>
Signed-off-by: Netanel Kadosh <kadoshnetanel@gmail.com>
Thank you @NetanelK , checking |
* fix(cli): add optional password setting for headless redis client (#19035) (#19039) * chore: add optional password setting for headless redis client Signed-off-by: Rachel Sheikh <rsheikh@squareup.com> * fix: remove import cycle Signed-off-by: Rachel Sheikh <rsheikh@squareup.com> * fix: add shared SetOptionalRedisPasswordFromKubeConfig method Signed-off-by: Rachel Sheikh <rsheikh@squareup.com> * fix: export redis consts Signed-off-by: Rachel Sheikh <rsheikh@squareup.com> * test: add test cases for SetOptionalRedisPasswordFromKubeConfig() Signed-off-by: Rachel Sheikh <rsheikh@squareup.com> * chore: go mod tidy Signed-off-by: Rachel Sheikh <rsheikh@squareup.com> * fix: use require instead of assert Signed-off-by: Rachel Sheikh <rsheikh@squareup.com> * fix: Update common/common.go Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Signed-off-by: Rachel Sheikh <sheikhrachel97@gmail.com> --------- Signed-off-by: Rachel Sheikh <rsheikh@squareup.com> Signed-off-by: Rachel Sheikh <sheikhrachel97@gmail.com> Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * fix: Add redis password to `forwardCacheClient` struct (#19599) Signed-off-by: Netanel Kadosh <kadoshnetanel@gmail.com> --------- Signed-off-by: Rachel Sheikh <rsheikh@squareup.com> Signed-off-by: Rachel Sheikh <sheikhrachel97@gmail.com> Signed-off-by: Netanel Kadosh <kadoshnetanel@gmail.com> Co-authored-by: Rachel Sheikh <sheikhrachel97@gmail.com> Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* fix(cli): add optional password setting for headless redis client (#19035) (#19039) * chore: add optional password setting for headless redis client Signed-off-by: Rachel Sheikh <rsheikh@squareup.com> * fix: remove import cycle Signed-off-by: Rachel Sheikh <rsheikh@squareup.com> * fix: add shared SetOptionalRedisPasswordFromKubeConfig method Signed-off-by: Rachel Sheikh <rsheikh@squareup.com> * fix: export redis consts Signed-off-by: Rachel Sheikh <rsheikh@squareup.com> * test: add test cases for SetOptionalRedisPasswordFromKubeConfig() Signed-off-by: Rachel Sheikh <rsheikh@squareup.com> * chore: go mod tidy Signed-off-by: Rachel Sheikh <rsheikh@squareup.com> * fix: use require instead of assert Signed-off-by: Rachel Sheikh <rsheikh@squareup.com> * fix: Update common/common.go Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Signed-off-by: Rachel Sheikh <sheikhrachel97@gmail.com> --------- Signed-off-by: Rachel Sheikh <rsheikh@squareup.com> Signed-off-by: Rachel Sheikh <sheikhrachel97@gmail.com> Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * fix: Add redis password to `forwardCacheClient` struct (#19599) Signed-off-by: Netanel Kadosh <kadoshnetanel@gmail.com> --------- Signed-off-by: Rachel Sheikh <rsheikh@squareup.com> Signed-off-by: Rachel Sheikh <sheikhrachel97@gmail.com> Signed-off-by: Netanel Kadosh <kadoshnetanel@gmail.com> Co-authored-by: Rachel Sheikh <sheikhrachel97@gmail.com> Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Thanks! I see the cherry pick branches - when will a release happen? |
@pasha-codefresh any updates on the release? |
I didnt plan it, better ask in contributions channel |
@pasha-codefresh Gotcha, I assumed the
message meant that a release would be cut. Do you mean Also how far is the 2.13 release? It's been a month of waiting on releases for this important |
2.13 GA Monday, Nov. 4, 2024. |
@purajit Actually, this was released with v2.11.10 and v2.12.5 releases |
Fixes #19035
Fixes #18426
Fixes #18464
redisPassword
field in theforwardCacheClient
struct, for headless mode.redisOptions
intoappstateCache
builderChecklist: