Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Upgrade json-patch to v4.9.0 #3373

Merged
merged 1 commit into from Nov 25, 2020
Merged

Conversation

stefansedich
Copy link
Contributor

This PR upgrades json-patch to v4.9.0 to fix the issues we are experiencing after upgrading to cert-manager 1.x, we began to see lockups in the sync-loop attempting to perform image upgrades.

This thread sums up the issues experienced https://cloud-native.slack.com/archives/CLAJ40HV3/p1601469463086700 by both myself and another user when flux experiences image upgrades with the cert-manager CRDs being present.

After some digging I saw that Flux is using the version of json-patch (v4.5.0) before the fixes (v4.6.0) addressing the exponential complexity for nested objects kubernetes/kubernetes#91615 which was causing issues with the cert-manager CRDs.

After upgrading json-patch to 4.9.0 and running a custom build of flux in our cluster everything is happy again and our upgrades are no longer blocking the sync loop. It would be nice if we could get the PR merged and a release pushed so that others do not experience this issue.

Signed-off-by: Stefan Sedich <stefan.sedich@gmail.com>
Copy link
Member

@squaremo squaremo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks straight-forward and reasonable to me. (And passes tests)
Thank you @stefansedich 🍰

@squaremo squaremo merged commit 66cd07f into fluxcd:master Nov 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants