Skip to content

Commit

Permalink
fix(clustering/compat): compatibility for plugn fields (#10346)
Browse files Browse the repository at this point in the history
For 3.2, we added `aws_imds_protocol_version` config for `aws_lambda` plugin, and `aws_imds_protocol_version` config for `zipkin` plugin, but we did not add corresponding `removed_fields` entries. Which causes Hybrid mode sync to older versions of Kong to fail.

Fix KAG-725

Co-authored-by: Chrono <chronolaw@gmail.com>
(cherry picked from commit 2a23672)
  • Loading branch information
StarlightIbuki authored and github-actions[bot] committed Feb 22, 2023
1 parent 469e6de commit 0c80c2c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,13 @@
- Bumped lua-resty-session from 4.0.2 to 4.0.3
[#10338](https://github.com/Kong/kong/pull/10338)

### Fix

#### Core

- Fix an issue where control plane does not downgrade config for `aws_lambda` and `zipkin` for older version of data planes.
[#10346](https://github.com/Kong/kong/pull/10346)

## 3.2.0

### Breaking Changes
Expand Down
6 changes: 6 additions & 0 deletions kong/clustering/compat/removed_fields.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,11 @@ return {
"response_headers",
"request_headers",
},
aws_lambda = {
"aws_imds_protocol_version",
},
zipkin = {
"phase_duration_flavor",
}
},
}

0 comments on commit 0c80c2c

Please sign in to comment.