-
Notifications
You must be signed in to change notification settings - Fork 115
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
Update json-patch mod to fix hangs on pulumi update #1223
Conversation
So as I understand, it would still fail during apply because helm cli is being invoked? |
The code that calls the CLI looks pretty simple to port, I know it was somewhere on the roadmap but what were the challenges there? I could spend some time working to get helm cli out of the way and use the go lib. |
I’d be glad to move Helm support to use the library, but I don’t think it’s directly related to this issue since the diffs are handled by the provider. I’d expect it to be fairly straightforward to port. The main issue would be supporting all of the existing config flags. Kustomise support is implemented using the library, so that’s a good example of what the work would look like.
Right; we only use the CLI to fetch the Chart and template YAML |
A performance bug was discovered that can cause CRD diffs to fail. This bug is fixed in an open PR [1] to the upstream repo, but has not been merged yet. In the meantime, I forked the json-patch repo, and applied the fix [2]. This change will be reverted once the upstream patch merges, and the module will be updated to point at the fixed changeset. [1] evanphx/json-patch#108 [2] https://github.com/pulumi/json-patch
82055fb
to
1eb3d34
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.
Is this a temp move until upstream is patched? Or are we considering forking long-term?
This change will be reverted once the upstream patch merges, and the module will be updated to point at the fixed changeset. |
Fixes have merged upstream, so move back to the upstream dependency rather than our fork. Related: #1223
Fixes have merged upstream, so move back to the upstream dependency rather than our fork. Related: #1223
Proposed changes
A performance bug was discovered that can cause CRD
diffs to fail. This bug is fixed in an open PR [1] to the upstream
repo, but has not been merged yet. In the meantime, I forked
the json-patch repo, and applied the fix [2]. This change will be
reverted once the upstream patch merges, and the module will
be updated to point at the fixed changeset.
[1] evanphx/json-patch#108
[2] https://github.com/pulumi/json-patch
Related issues (optional)
Fix #1222