You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you change the chart version of the Release through the field spec.forProvider.chart.url (not using spec.forProvider.chart.version), the Release controller tries to update the Release in every reconcile.
The .Version field is always different, because the in.Chart.Version is 0.3.0 and the ocm.Version is 0.4.0.
Probably, the in.Chart.Version is being "imported" just in the first reconcile loop, when its value is empty (""). When we updated the url in the manifest, the in.Chart.Version wasn't updated as well.
The versions specified in the spec.forProvider.chart.url and spec.forProvider.chart.version should change together, because if they are different and not empty, this update loop behavior will happen again.
What happened?
Release
through the fieldspec.forProvider.chart.url
(not usingspec.forProvider.chart.version
), theRelease
controller tries to update theRelease
in every reconcile.How can we reproduce it?
Release
below:Release
manifest to the specified below andkubectl apply
it:Error cause
The update-loop is triggered by the IsUpToDate function, which returns
false
in every reconcile. The offending lines areprovider-helm/pkg/controller/release/observe.go
Lines 82 to 84 in 176aa68
The
.Version
field is always different, because thein.Chart.Version
is0.3.0
and theocm.Version
is0.4.0
.Probably, the
in.Chart.Version
is being "imported" just in the first reconcile loop, when its value is empty (""
). When we updated theurl
in the manifest, thein.Chart.Version
wasn't updated as well.The offending lines possibly are
provider-helm/pkg/controller/release/release.go
Lines 316 to 321 in 176aa68
Hypothesis
The versions specified in the
spec.forProvider.chart.url
andspec.forProvider.chart.version
should change together, because if they are different and not empty, this update loop behavior will happen again.What environment did it happen in?
Crossplane version: 1.6.1
Provider-helm version: 0.10.0
The text was updated successfully, but these errors were encountered: