-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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(redis): remove unnecessary redis config deprecation warnings in hybrid mode #13069
fix(redis): remove unnecessary redis config deprecation warnings in hybrid mode #13069
Conversation
4fb1831
to
f9205bc
Compare
3ae6528
to
7d74245
Compare
e42414b
to
ffa5ff8
Compare
ffa5ff8
to
6bd05d3
Compare
changelog/unreleased/kong/fix-acme-misleading-deprecation-logs.yml
Outdated
Show resolved
Hide resolved
changelog/unreleased/kong/fix-response-rl-misleading-deprecation-logs.yml
Outdated
Show resolved
Hide resolved
changelog/unreleased/kong/fix-rl-misleading-deprecation-logs.yml
Outdated
Show resolved
Hide resolved
a2576df
to
daea999
Compare
@fffonion - could you elaborate a bit why you removed the label |
@nowNick I deleted the |
Oh ok. I read the thread but I was confused why only the 3.6 backport flag was removed. Thanks for letting me know 👍 |
daea999
to
1c39467
Compare
When running kong in hybrid mode a plugin configuration is pushed from CP to DP. When introducing shorthand field expansion to Admin responses the deprecated fields (defined as shorthand fields) were also pushed from CP to DP which resulted in DP receiving config with both new fields and also old fields. It resulted with DP reporting in logs that the plugin is being configured with deprecated fields. It affected the plugins: - ACME - Rate-Limiting - Response-RateLimiting This commit disables deprecation warning on data planes since those nodes cannot be configured manually so this deprecation message is not actionable on data planes. KAG-4515
1c39467
to
5a9b463
Compare
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.
nice! lgtm
Successfully created cherry-pick PR for |
Successfully created backport PR for |
Summary
When running kong in hybrid mode with ACME plugin the configuration for the plugin is being pushed from CP to DP. When introducing shorthand field expansion to Admin API responses the deprecated fields (defined as shorthand fields) were also pushed from CP to DP which resulted in DP receiving config with both new fields and also old fields. It resulted with DP reporting in logs that ACME plugin is being configured with deprecated fields.
This PR disables the deprecation logs in DPs. The reasoning behind that is that those deprecation logs are not actionable on DP side and should be actually changed on CP if they were indeed configured improperly.
Checklist
changelog/unreleased/kong
orskip-changelog
label added on PR if changelog is unnecessary. README.mdIssue reference
KAG-4515