unnecessary reconcile because of dependent HPA resource
Using the 0.8.0 version of the plugin.
I have a helm chart with HPA resources in it. While no change is made on the HPA resource, still a reconciliation is triggered, because when comparing `old` and `updated`, the `metadata.managedFields.["subresource" == "status"].time` field differs.
The `status` and `metadata.resourceVersion` fields are already removed before comparison. I think the object with `subresource` == 'status' should be also removed from `metadata.managedFields` before comparison.
See: https://github.com/operator-framework/helm-operator-plugins/blob/v0.8.0/pkg/internal/predicate/predicates.go#L72
I am not sure if fixing by this would be correct.
```golang
unstructured.RemoveNestedField(old.Object, "metadata", "managedFields")
unstructured.RemoveNestedField(updated.Object, "metadata", "managedFields")
```
关闭于 2025-08-26 0 条评论