Skip to content
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(plugin): compat issue for config sync #10346

Merged
merged 2 commits into from
Feb 22, 2023
Merged

fix(plugin): compat issue for config sync #10346

merged 2 commits into from
Feb 22, 2023

Conversation

StarlightIbuki
Copy link
Contributor

@StarlightIbuki StarlightIbuki commented Feb 22, 2023

Summary

For 3.2, we added aws_imds_protocol_version for aws_lambda plugin, and aws_imds_protocol_version for zipkin plugin, but we did not add corresponding removed_fields entries.

Checklist

The Pull Request has tests -- N/A, we removed tests to removed_fileds as it does not mean much but causes flakiness.

  • There's an entry in the CHANGELOG

There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com -- N/A, it's a bug fix

Issue reference

Fix KAG-725

For 3.2, we added `aws_imds_protocol_version` for `aws_lambda` plugin, and `aws_imds_protocol_version` for `zipkin` plugin, but we did not add corresponding `removed_fields` entries.

Fix KAG-725
@StarlightIbuki StarlightIbuki changed the title fix(plugin): aws_lambda compat for config sync fix(plugin): compat issue for config sync Feb 22, 2023
CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Chrono <chronolaw@gmail.com>
@StarlightIbuki
Copy link
Contributor Author

I've manually tested the change and it works with 3.1.1.2.

https://gist.github.com/StarlightIbuki/ee9f47617c165961e5aca2e60a23bf39

Using the compose and config it with new fields, we see the config is synced.

@dndx dndx merged commit 2a23672 into master Feb 22, 2023
@dndx dndx deleted the fix/aws_lambda_compat branch February 22, 2023 08:32
mashapedeployment pushed a commit that referenced this pull request Feb 22, 2023
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)
@samugi
Copy link
Contributor

samugi commented Feb 22, 2023

Adding a comment just to confirm that the fix worked fine in my manual tests too.

@tyler-ball tyler-ball removed this from the 3.2.1 milestone Feb 22, 2023
dndx pushed a commit that referenced this pull request Feb 23, 2023
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)
This was referenced Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants