Closed stefanprodan closed 6 months ago
Mark Observation.OCIDigest as omitempty to avoid a snapshot drift when upgrading to API v2.
Observation.OCIDigest
omitempty
Before this fix, when updating the controller & CRDs from v0.x to v1.0 all releases were upgraded due to:
release not managed by controller: release not observed to be made for object
Whit this fix, the history snapshot remains unchanged, as the OCI digest empty string is no longer included in the calculation of the config digest.
Followup: https://github.com/fluxcd/helm-controller/pull/905
Successfully created backport PR for release/v1.0.x:
release/v1.0.x
Mark
Observation.OCIDigest
asomitempty
to avoid a snapshot drift when upgrading to API v2.Before this fix, when updating the controller & CRDs from v0.x to v1.0 all releases were upgraded due to:
Whit this fix, the history snapshot remains unchanged, as the OCI digest empty string is no longer included in the calculation of the config digest.
Followup: https://github.com/fluxcd/helm-controller/pull/905