Skip to content

Releases: kluctl/template-controller

v0.9.3

23 Oct 14:01
Compare
Choose a tag to compare

We're happy to announce the release v0.9.3 of template-controller. This is a bugfix release that fixes potential issues with non-parsable Gitlab note IDs.

⚠️ Please also read the release notes of v0.9.1, which contained multiple breaking changes. ⚠️

Changelog

v0.9.3 (2024-10-23)

Bug Fixes

v0.9.2

19 Jul 11:09
Compare
Choose a tag to compare

We're happy to announce the release v0.9.2 of template-controller. This is a bugfix release that fixes potential issues with broken watches.

⚠️ Please also read the release notes of v0.9.1, which contained multiple breaking changes. ⚠️

Changelog

v0.9.2 (2024-07-19)

Bug Fixes

  • Properly account for the template's namespace when creating watches (27a0f9a)

v0.9.1

19 Jul 07:41
Compare
Choose a tag to compare

We're happy to announce the release v0.9.1 of template-controller. This is quite a huge release with a lot of breaking changes. Please read the release notes carefully.

All these changes lead to a template-controller that is a lot easier to maintain, meaning that updates will come more often from now on.

Big thanks and a shoutout 📣 goes out to @erikgb for his very valuable input and feedback on the template-controller.

Breaking Changes

Always use impersonation

The template-controller will now always use impersonation to watch for updated template inputs. This means, that you might run into permission errors if your service accounts did not have the proper permissions to watch for changes. In the past, the controller's service account was used for watches, leading for some users to not notice missing privileges in their own RBAC.

Switching to OCI-only Helm Charts

The Chart Repository (found at https://github.com/kluctl/charts) is archived now and won't get any updates. Instead, the Chart is from now on only released as OCI Chart. For you as a consumer, this only means that you now don't have to add (helm repo add xxx) the old repo before being able to install the Chart. Instead, you'll use the OCI URL from now on:

$ helm install template-controller -n template-controller --create-namespace oci://ghcr.io/kluctl/charts/template-controller

Please follow the install instructions found here.

⚠️ These also contain important upgrade instructions in case you were using the old Helm Chart repository. ⚠️

Chart Version bump

The Chart version has been bumped from 0.2.5 to 0.9.1 to match the controller version. The version will from now on always match.

Removal of kubebuilder compatible kustomize overlays

The kustomize overlays found in config have been reduced to the absolute minimum. We now only have crds and rbac auto-generated by kubebuilder and thus only provide these manifests inside config.

Instead, the now included Helm Chart is used to autogenerate deploy/manifests/template-controller.yaml.

Removal of ObjectHandler

The ObjectHandler CRD and controllers have been removed. These were never documented as they were just an experiment.

Change of base image

The base image for the controller has been changed to use wolfi-base. This should reduce the amount of CVEs found by scanners a lot.

Changelog

v0.9.1 (2024-07-18)

Features

  • Remove all kustomize resources except CRDs (6e59fe3)
  • Switch to wolfi-base image (3b30e0f)
  • Remove ObjectHandler (#95) (52e6264)

Bug Fixes

  • Use Patch instead of Update to remove finalizers (d9e3ee5)
  • Use struct{} instead of bool and fix missing entries in newObjects (c79ac0c)
  • Remove permissions for CRDs (0ebe50e)
  • Use controller-runtime's defaulting mechanism for serviceAccountName (b83e3c4)
  • Perform watches on a per-object basis instead of globally on the kind (a686a38)
  • Stop using global permissions to access configmaps/secrets from template APIs (619a05b)
  • Ignore not-found errors (89ae88c)
  • Stop using pointers as list elements when not really necessary (cee3c2c)
  • Use provided rest config (f515dc9)
  • deps: upgraded dependencies (#94) (4725d14)

v0.8.3

27 Feb 10:12
Compare
Choose a tag to compare
v0.8.3 Pre-release
Pre-release

Changelog

v0.8.3 (2024-02-27)

Bug Fixes

  • Properly handle IntOrString for ListGitlabMergeRequest spec.project (#87) (a41d44d)

v0.8.2

07 Feb 10:32
Compare
Choose a tag to compare
v0.8.2 Pre-release
Pre-release

Changelog

v0.8.2 (2024-02-07)

Bug Fixes

  • Properly use HasPrefix instead of HasSuffix to check if its a tag (#80) (9cc1795)
  • GitlabComment knows how to deal with project ids (#68) (534f1a4)

v0.8.1

19 Dec 15:25
Compare
Choose a tag to compare
v0.8.1 Pre-release
Pre-release

Changelog

v0.8.1 (2023-12-19)

This release only contains bug fixes and and upgrades to dependencies.

Bug Fixes

  • Changing the data type from int to intstr for fields - pullRequestId and mergeRequestId (#59)
  • Upgrade all dependencies (#60)
  • Use go 1.21.1 in release workflow (63fe43c)

v0.7.1

17 May 21:33
Compare
Choose a tag to compare
v0.7.1 Pre-release
Pre-release

Changelog

v0.7.1 (2023-05-17)

This release only contains fixes.

Bug Fixes

  • Add missing empty resource group (f95d26c)

v0.7.0

17 May 15:54
Compare
Choose a tag to compare
v0.7.0 Pre-release
Pre-release

Changelog

v0.7.0 (2023-05-17)

This release only contains fixes and dependency upgrades.

Bug Fixes

  • Fixes required for latest controller-runtime version (d6a9279)
  • Pin controller-runtime to current master (101815b)
  • Add missing RBAC for ConfigMaps (2e1cef6)

v0.6.0

16 Jan 12:43
Compare
Choose a tag to compare
v0.6.0 Pre-release
Pre-release

Changelog

v0.6.0 (2023-01-16)

Features

  • Implement GithubComment reconciler (4c0ee85)
  • Add stubs for GithubComment (84b88f6)
  • Implement commentId handling (7ce6dd9)
  • Implement GitlabComment reconciler (8df0604)
  • Add stubs for GitlabComment (eb1d535)
  • Implement templates from ConfigMaps (bc08f36)
  • Implement TextTemplate controller (a927344)
  • Add TextTemplate stubs (c746794)

Bug Fixes

  • Proper camelCase for lastPostedBodyHash (35b89e0)
  • Fix watch handlers for TextTemplate (79285c9)
  • Fix typo (221af30)
  • Fix hasMarkerComment to properly split lines (e0940c8)
  • Properly handle not existent notes (6567257)
  • Fix mutex not being held when adding multierror (53968db)

v0.5.1

14 Dec 20:00
Compare
Choose a tag to compare
v0.5.1 Pre-release
Pre-release

This is the initial public release of the template-controller.