All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
7.2.0 - 2023-11-09
- Upgrade go to 1.21
- Upgrade k8s dependencies to 1.28.x
7.1.0 - 2022-07-18
- Change Reconcile errors total to include controller name.
7.0.1 - 2022-02-07
- Export
GetFinalizerName
function.
- Controller boot log line.
7.0.0 - 2021-12-20
- Upgrade github.com/giantswarm/backoff v0.2.0 to v1.0.0
- Upgrade github.com/giantswarm/exporterkit v0.2.1 to v1.0.0
- Upgrade github.com/giantswarm/microerror v0.3.0 to v0.4.0
- Upgrade github.com/giantswarm/micrologger v0.5.0 to v0.6.0
- Upgrade github.com/giantswarm/k8sclient v6.0.0 to v7.0.0
6.1.0 - 2021-12-17
- Update
k8sclient
to v6.1.0 with CRDClient that was removed in v6.0.0.
6.0.0 - 2021-11-12
- Add new Kubernetes API,
examples.testing.giantswarm.io
, for integration tests without importingapiextensions
.
- Update
k8sclient
to v6.0.0,controller-runtime
to v0.8.3, and Kubernetes dependencies to v0.20.12. - Adjust signature of
NewRuntimeObjectFunc
to returnclient.Object
instead ofruntime.Object
.
5.0.0 - 2021-05-25
- Reduced memory usage of the timestamp collector using server-side filtering for watched resources.
- Replaced
github.com/giantswarm/operatorkit/v4/pkg/controller/internal/selector.Selector
withk8s.io/apimachinery/pkg/labels.Selector
incontroller.Config
to streamline the usage of server-side filtering.
4.3.1 - 2021-04-06
- Remove usage of self link for Kubernetes 1.20 support.
4.3.0 - 2021-03-16
- Add
Controller.Stop
method to stop controller reconciliation and metrics collection.
- Re-expose
controller.NewSelector()
. - Only close manager channel once.
- Add
AllowedLabels
to configmap resource to prevent unnecessary updates.
4.2.0 - 2021-01-07
- Add
operatorkit_controller_last_reconciled
metrics.
- Add object context to pause annotation related logs.
4.1.0 - 2020-12-18
- Add
namespace
into controller setting. - Add
SentryTags
Config field to allow setting custom tags to be sent alongside errors tosentry.io
.
- Propagate label selectors to timestamp collector
4.0.0 - 2020-10-27
- Update apiextensions to v3 and replace CAPI with Giant Swarm fork.
- Prepare module v4.
3.0.0 - 2020-10-23
- Drop
controller.ProcessDelete
andcontroller.ProcessUpdate
.
2.0.2 - 2020-10-15
- Fix pause logic being triggered by empty values on non-target annotation keys.
2.0.1 - 2020-09-24
- Updated Kubernetes dependencies to v1.18.9.
2.0.0 - 2020-08-11
- Add configurable pause annotation support.
- Updated backward incompatible Kubernetes dependencies to v1.18.5.
1.2.0 - 2020-06-29
- Support writing Kubernetes error events when returning microerror with kind and description.
1.1.0 - 2020-06-22
- Optional support for sentry error collector.
1.0.2 - 2020-06-18
- Use local
Selector
introduced in 1.0.1 type incontroller
package.
1.0.1 2020-06-09
- Add local less rigid
Selector
interface type incontroller.Controller
. The newSelector
interface is backward compatible with previously usedapiextensions
implementation. #407
- Fix the issue where
operatorkit_controller_creation_timestamp
andoperatorkit_controller_deletion_timestamp
metrics were not emitted for all the controllers.
1.0.0 2020-05-18
- Add
handler.Interface
(not used yet).
- Remove resource set concept.
- Remove CRD management. Due to versioning issues throughout the lifecycle of operators CRDs must be managed in a different way.
- Use v3
k8sclient
.
0.2.1 2020-05-06
- Add
cachekeycontext
package.
0.2.0 2020-03-24
- Switch from dep to Go modules.
- Use architect orb.
0.1.0 2020-03-19
- First release.