Releases: openmcp-project/controller-utils
Releases · openmcp-project/controller-utils
Release v0.27.1
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]
- Clarified Secret.Type handling in SecretMutator.Mutate() (#226, @maximiliantech)
Release v0.27.0
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
ThreadManagernow has aWaitmethod 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 ownonFinishfunction: If the thread itself was terminated due toStop()already being called from the outside, calling it fromonFinishwould try to acquire a lock which was already held by the outerStop()call. (#219, @Diaphteiros)
📚 Documentation
[DEVELOPER]
- Extend smartrequeue library docs. (#221, @moelsayed)
Release v0.26.0
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/webhookspackage before they are being applied to the cluster. (#216, @Diaphteiros)
Release v0.25.2
Changes included in v0.25.2:
Changelog
🐛 Bugfixes
[DEVELOPER]
- Fixed a bug in the
ShortenToXCharactersfunction which could lead to invalid k8s names. (#207, @Diaphteiros)
Release v0.25.1
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
Changes included in v0.25.0:
Changelog
Release v0.24.0
Changes included in v0.24.0:
🚀 Features
- extend webhook init logic #173
- [DEVELOPER][FEATURE] The logic in
pkg/init/webhookshas been extended and can now be configured to automatically create theServicefor the webhook. Additionally, aUninstallfunction has been added that allows removal of the webhook resources.
- [DEVELOPER][FEATURE] The logic in
🐛 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
Release v0.23.1
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
Changes included in v0.23.0:
🚀 Features
- conditional smartrequeue #154
- [DEVELOPER][FEATURE] The status updater's
WithSmartRequeuemethod now takes functions as optional arguments. These functions take theReconcileResultand return a smart requeue value, which will then overwrite the value from theReconcileResult. This allows determining the smart requeue value based on the object's updated conditions, which was complicated to achieve before this change.
- [DEVELOPER][FEATURE] The status updater's
- add predicates for each specific type of event #151
- [DEVELOPER][FEATURE] The
pkg/controllerlibrary 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
- [DEVELOPER][FEATURE] The