Generic libraries for building idiomatic Kubernetes controllers
Full Changelog: https://github.com/authzed/controller-idioms/compare/v0.9.1...v0.10.0
This is a bugfix release for v0.9.0
Full Changelog: https://github.com/authzed/controller-idioms/compare/v0.9.0...v0.9.1
The CRD
function in bootstrap has been deprecated (but not removed) and replaced with CRDs
.
The only difference in signature is the initial context.Context
argument:
Before:
func CRD(restConfig *rest.Config, crdFS fs.ReadDirFS, dir string) error {
After:
func CRDs(ctx context.Context, restConfig *rest.Config, crdFS fs.ReadDirFS, dir string) error
We recommend updating to the new function, but the old one continues to work.
Full Changelog: https://github.com/authzed/controller-idioms/compare/v0.8.0...v0.9.0
hash.Set
type that keys via hash.Object
by @ecordell in https://github.com/authzed/controller-idioms/pull/32
Full Changelog: https://github.com/authzed/controller-idioms/compare/v0.6.0...v0.7.0
Full Changelog: https://github.com/authzed/controller-idioms/compare/v0.5.0...v0.6.0
Note: this release contains breaking API changes:
component.EnsureComponentByHash
now uses queue.OperationsContext
instead of *typedctx.Key[queue.Interface]
(the former being a wrapper around the latter, migration should be straightforward).queue.NewOperations(done func(), requeueAfter func(time.Duration), cancel context.CancelFunc)
now takes a third argument cancel
- see https://github.com/authzed/controller-idioms/pull/14 for more info and reasoning.Full Changelog: https://github.com/authzed/controller-idioms/compare/v0.4.1...v0.5.0
Full Changelog: https://github.com/authzed/controller-idioms/compare/v0.4.0...v0.4.1
Full Changelog: https://github.com/authzed/controller-idioms/compare/v0.3.0...v0.4.0
Full Changelog: https://github.com/authzed/controller-idioms/compare/v0.2.0...v0.3.0