Skip to content

v0.3.2

Choose a tag to compare

@ERP4SME-DevOps-GitHub-Workflow-User ERP4SME-DevOps-GitHub-Workflow-User released this 18 Feb 23:23
f1ec537

Incompatible changes

  • The helm/kustomize generators were carved out of pkg/manifests, and moved into dedicated packages pkg/manifests/helm and pkg/manifests/kustomize, respectively.
  • Package pkg/utils was removed; the *FromContext() methods are now in pkg/component.
  • The field field manager of dependent objects (metadata.managedFields) is now set to the reconciler name passed to NewReconciler().

Enhancements

  • New component states Pending and DeletionPending are introduced; they will be set, if a RetriableError is thrown during the reconciliation, for example by generators or hooks.
  • A new method Reconciler.SetupWithManagerAndBuilder() was added. This allows to use an own controller-runtime builder for building the controller, which is useful for example if additional watches shall be set up, or custom controller options shall be used. The existing method Reconciler.SetupWithManager() remains unaffected, and should still be the best choice for most consumers.
  • The retry period in case of missing configmap/secret references is always set to 10s, independently of any RetryConfiguration implemented by the component.

Fixes

  • Previously, dependent objects were updated by the reconciler, even if they were in deleting state. During such an update, finalizers would probably get removed, leading to an immediate deletion of the object. This should not happen like this; to overcome, the reconciler no longer updates objects which are in a deletion state; in addition, to make the situation safe for objects without deletion timestamp, finalizers are copied over from the existing object during update.
  • A fix was applied to scaffold (calling go mod tidy in various places), in order to avoid issues with missing go.sum entries.

Version updates

  • Go was updated to 1.27, and various modules were upgraded.
  • Default versions in scaffold were updated.