Closed polivbr closed 1 year ago
Hi @polivbr thanks for reporting this. I'll forward this on to the team to take a look at.
Thank you for reporting this issue. It appears that the checksum field has been deprecated by Flux in favor of digest, as you correctly observed. We will take this into account and add fallback logic to handle both cases.
Related RFC: https://github.com/fluxcd/flux2/pull/3233
What happened?
Receiving the following error:
expected a non-empty string in .status.artifact.checksum
when attempting to pull from a Flux source.
Newer versions of Flux no longer populate the
checksum
field on the artifact status, instead populatingdigest
.Expected Behavior
The sources would be successfully pulled from Flux.
Steps to reproduce
Reference a Flux source using a newer version of Flux (not sure when change was made, but it exists in the 2.0.0 RC versions).
Output of
pulumi about
From within container:
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).