Skip to content

v0.3.13

Choose a tag to compare

@ERP4SME-DevOps-GitHub-Workflow-User ERP4SME-DevOps-GitHub-Workflow-User released this 24 Mar 22:48
6edde34

CAVEAT

You must not directly upgrade to this release or a higher release from a release lower than v0.2.3. Release v0.2.3 changed the format of owner IDs in an incompatible way, and introduced a temporary workaround to support the old owner ID format. This workaround is removed with v0.3.13.

Moreover, you must ensure that consumers of your operators deploy at least one version of your operator which uses a component-operator-runtime version between v0.2.3 and v0.3.12.

Changes

This release is a refactoring release. The reconciler logic for dependent objects is carved out into a dedicated package (pkg/reconciler).
Most relevant functions are:

func NewReconciler(name string, clnt cluster.Client, options ReconcilerOptions) *Reconciler

func (r *Reconciler) Apply(ctx context.Context, inventory *[]*InventoryItem, objects []client.Object, namespace string, ownerId string, componentRevision int64) (bool, error)

func (r *Reconciler) Delete(ctx context.Context, inventory *[]*InventoryItem) (bool, error)

func (r *Reconciler) IsDeletionAllowed(ctx context.Context, inventory *[]*InventoryItem) (bool, string, error)