Skip to content

Releases: openmcp-project/controller-utils

Release v0.27.1

13 Apr 13:07
bc7d2be

Choose a tag to compare

Changelog

🐛 Bugfixes

[USER]

  • Fixed SecretMutator.Mutate() to set the Type field, ensuring secrets are created with the correct type (e.g., kubernetes.io/dockerconfigjson) when using CreateOrUpdate patterns. (#225, @maximiliantech)

📚 Documentation

[DEVELOPER]

Release v0.27.0

24 Mar 08:27
586fbdd

Choose a tag to compare

Changes included in v0.27.0:

Changelog

🚨 Breaking

[DEVELOPER]

  • Update smartrequeue API. This is a breaking change since the old API is no longer available. (#221, @moelsayed)

🚀 Features

[DEVELOPER]

  • The ThreadManager now has a Wait method which can be called to wait until the manager has been stopped. (#218, @Diaphteiros)

🐛 Bugfixes

[DEVELOPER]

  • Fixed a potential deadlock in the thread manager library which could occur if a thread called the thread manager's Stop() method in its own onFinish function: If the thread itself was terminated due to Stop() already being called from the outside, calling it from onFinish would try to acquire a lock which was already held by the outer Stop() call. (#219, @Diaphteiros)

📚 Documentation

[DEVELOPER]

Release v0.26.0

02 Mar 14:42
5814e5f

Choose a tag to compare

Changes included in v0.26.0:

Changelog

🚀 Features

[DEVELOPER]

  • It is now possible to modify the validating/mutating webhook configurations that are generated by the init/webhooks package before they are being applied to the cluster. (#216, @Diaphteiros)

Release v0.25.2

27 Jan 15:27
010c2c7

Choose a tag to compare

Changes included in v0.25.2:

Changelog

🐛 Bugfixes

[DEVELOPER]

  • Fixed a bug in the ShortenToXCharacters function which could lead to invalid k8s names. (#207, @Diaphteiros)

Release v0.25.1

27 Jan 12:53
dfcb354

Choose a tag to compare

Changes included in v0.25.1:

Changelog

🐛 Bugfixes

[DEVELOPER]

  • Fixed a bug in the event recording feature of the status updater which prevent events from being recorded. (#206, @Diaphteiros)

Release v0.25.0

26 Jan 12:37
1b41d19

Choose a tag to compare

Changes included in v0.25.0:

Changelog

Release v0.24.0

11 Nov 07:51
777ed92

Choose a tag to compare

Changes included in v0.24.0:

🚀 Features

  • extend webhook init logic #173
    • [DEVELOPER][FEATURE] The logic in pkg/init/webhooks has been extended and can now be configured to automatically create the Service for the webhook. Additionally, a Uninstall function has been added that allows removal of the webhook resources.

🐛 Fixes

  • apply webhook configurations correctly #178
    • [DEVELOPER][BUGFIX] Make webhook install configuration types more explicit
  • remove prepending and appending runes to the condition type and reason #177
    • [USER][FEATURE] Remove prepending and appending runes to the condition type and reason
  • replace illegal chars in all condition updates #175
    • [DEVELOPER][FEATURE] Replace illegal chars in condition reasons and types

Release v0.23.2

28 Oct 13:01
5ddb484

Choose a tag to compare

Changes included in v0.23.2:

🚀 Features

  • add func to parse image references #172
    • [USER][FEATURE] Add func to parse container images and return the image name, tag and digest
  • replace deprecated PKCE flag #168
    • [USER][FEATURE] breaking: replace deprecated PKCE flag

Release v0.23.1

20 Oct 11:14
c52e501

Choose a tag to compare

Changes included in v0.23.1:

🔧 Chores

  • replace illegal chars condition type and reason #160
    • [DEVELOPER][FEATURE] Replace illegal characters in condition types and reasons

Release v0.23.0

07 Oct 14:29
57cba28

Choose a tag to compare

Changes included in v0.23.0:

🚀 Features

  • conditional smartrequeue #154
    • [DEVELOPER][FEATURE] The status updater's WithSmartRequeue method now takes functions as optional arguments. These functions take the ReconcileResult and return a smart requeue value, which will then overwrite the value from the ReconcileResult. This allows determining the smart requeue value based on the object's updated conditions, which was complicated to achieve before this change.
  • add predicates for each specific type of event #151
    • [DEVELOPER][FEATURE] The pkg/controller library now contains the following new predicates:
      • OnCreatePredicate() reacts only on create events
      • OnDeletePredicate() reacts only on delete events
      • OnUpdatePredicate() reacts only on update events
      • OnGenericPredicate() reacts only on generic events
      • OnEventTypePredicate(eventType) allows to pass in the event type dynamically