Skip to content

Releases: openmcp-project/controller-utils

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

Release v0.22.0

18 Sep 09:13
60c1340

Choose a tag to compare

Changes included in v0.22.0:

🚀 Features

  • add exact name predicate #149
    • [DEVELOPER][FEATURE] The pkg/controller library now has an ExactNamePredicate that allows to filter for a specific name and namespace.
  • add constant for k8s max name length #148
    • [DEVELOPER][FEATURE] The pkg/controller package now has a constant K8sMaxNameLength that holds the maximum length for k8s resource names. This is useful in combination with the package's ShortenToXCharacters function.
    • [DEVELOPER][FEATURE] In addition to the pkg/controller package's ShortenToXCharacters function, there is now also a ShortenToXCharactersUnsafe function which panics instead of returning an error if something goes wrong.
  • add func to shorten strings, deprecate old hash funcs #145
    • [DEVELOPER][FEATURE] feat: add func to shorten strings
      chore: deprecate old hash funcs

Release v0.21.0

18 Sep 09:13
0bf878c

Choose a tag to compare

Changes included in v0.21.0:

🚀 Features

  • add func to shorten strings, deprecate old hash funcs #145
    • [DEVELOPER][FEATURE] feat: add func to shorten strings
      chore: deprecate old hash funcs

Release v0.20.0

11 Sep 09:14
a7d231f

Choose a tag to compare

Changes included in v0.20.0:

🚀 Features

  • new, shorter hash function for k8s resource names #141
    • [DEVELOPER][FEATURE] feat: new, shorter hash function for k8s resource names
  • add helper function for logging requeues #137
    • [DEVELOPER][FEATURE] The pkg/logging package's Logger now has a LogRequeue function that can be used to easily log a message if the object that was just reconciled is going to be requeued.