Skip to content

v0.3.96

Choose a tag to compare

@ERP4SME-DevOps-GitHub-Workflow-User ERP4SME-DevOps-GitHub-Workflow-User released this 15 May 20:27
d8131ae

Enhancements

This release makes the force-reapply interval configurable on component and object level.
So far, every object was force-reapplied to the cluster every 60 minutes (even it is seemed to be in sync according to digests). Now, that interval can be tweaked

  • on component level by implementing the new interface

    type ReapplyConfiguration interface {
      // Get force-reapply interval. Should be greater than the effective requeue interval. If a value smaller than the
      // effective requeue interval is specified, the force-reapply might be delayed until the requeue happens.
      // A return value of zero means to use the framework default.
      GetReapplyInterval() time.Duration
    }

    or by including the convenience type ReapplySpec into the component's spec.

  • on object level (which has higher precedence than the value specified on component level) by setting the annotation
    mycomponent-operator.mydomain.io/reapply-interval.