Skip to content

Releases: dotnet/dotnet-operator-sdk

v3.0.0-prerelease.3

29 Jan 21:45
8d38373
Compare
Choose a tag to compare
v3.0.0-prerelease.3 Pre-release
Pre-release

3.0.0-prerelease.3 (2021-01-29)

Bug Fixes

  • deps: update dependency namotion.reflection to v1.0.16 (#145) (8d38373)

v3.0.0-prerelease.2

29 Jan 14:16
Compare
Choose a tag to compare
v3.0.0-prerelease.2 Pre-release
Pre-release

3.0.0-prerelease.2 (2021-01-29)

Code Refactoring

  • controller: Refactoring to scoped controllers. (17d636f), closes #138
  • finalizer: Use scoped finalizer. (307cc55)
  • function naming: Use best practice names. (4e675b8)
  • testing: Adjust test helpers according to breaking changes. (163c18b)
  • validators: Use scoped validators and register by type. (a63b511)

BREAKING CHANGES

  • testing: This removes the mocked event queue.
    To test controllers and finalizers, use the provided
    methods of the KubernetesOperatorFactory to enqueue
    events and finalizers.
  • validators: Validators do not need to be registered via
    AddValidationWebhook method. All validators are infered/searched
    by type when they implement the IValidationWebhook<> interface.
    When the validation webhook is called, a scope is created.
  • function naming: This essentially renames all async functions.
    According to best practices, async functions should have the
    suffix Async.
  • finalizer: Refactoring of the finalizer logic. Same as with
    the controller, the finalizer are now instantiated via dependency injection
    in a scope. As soon as a finalization request happens, the finalizer
    manager will search for the adequate finalizer and call it.
    The new way of registering finalizer is via the IFinalizerManager
    to attach a finalizer to an entity.
  • controller: Refactoring of the whole controller instantation.
    This removes the ResourceControllerBase class. Please migrate to
    the new interface IResourceController. The basic idea is to provide
    scoped access like asp.net api controller. ALL non abstract classes
    that implement that interface are registered as controllers on startup.
    Whenever an event for a resource happens, a dependency injection
    scope is created and the controller is called with the specific action.
    There is no need for a base class anymore.

v3.0.0-prerelease.1

24 Jan 18:01
Compare
Choose a tag to compare
v3.0.0-prerelease.1 Pre-release
Pre-release

3.0.0-prerelease.1 (2021-01-24)

Bug Fixes

  • Correctly translate the kubernetes "special" fields in crds. (e5573c4)

Features

  • crd generation: Add additional printer columns. (#118) (1fd76c3), closes #60
  • documentation: Add documentation for public elements of the libs (#119) (f97a3ef)
  • events: Add event support for resources and controllers. (#132) (3537772), closes #5
  • logging: Remove the structured logger in favor of JsonLogger. (8a6bf9d)
  • webhooks: Add validation webhooks and cert support. (#136) (6633845), closes #3
  • add KubeOpsBasePath to msbuild properties (#117) (532b878)

BREAKING CHANGES

  • logging: This removes the structured console logger.
    Dotnet 5.0 provides a "simple logger" (default) as well as a
    "json logger".

v2.5.0

28 Dec 15:19
Compare
Choose a tag to compare

2.5.0 (2020-12-28)

Bug Fixes

Features

  • Add extensions for specifying additional assemblies to search for resources/entities. (#108) (89ced44)
  • add preload cache mechanism via settings (#114) (6438064), closes #58
  • Add setting WatcherHttpTimeout (#109) (1276010)

v2.4.0

11 Dec 08:10
Compare
Choose a tag to compare

2.4.0 (2020-12-11)

Features

  • upgrade to C#9.0 (f2181b8)
  • upgrade to net5.0 (285c92d)
  • use DotnetKubernetesClient instead of own implementation (46e69be)

v2.3.0

26 Oct 12:50
Compare
Choose a tag to compare

2.3.0 (2020-10-26)

Bug Fixes

  • cache: Don't compare ManagedFields (introduced in 1.18) (fe181d3), closes #76

Features

  • crd generation: Support arrays of complex types in CRD generation (#63) (4f63246)
  • crd generation: Throw an error on unsupported crd type. (3d294ff), closes #80

v2.2.0

18 Sep 08:34
5e40e85
Compare
Choose a tag to compare

2.2.0 (2020-09-18)

Features

  • crd generation: add embedded resource. (e0cbe68)
  • crd generation: add IntOrString field. (c0c296e)
  • crd generation: add multi version support. (eb685c5), closes #54
  • crd generation: add preserve unknown fields. (5b655c0)
  • crd generation: fetch xml documentation if any and use description. (bdbdff1), closes #7
  • operator: Add namespacing for operators. (5e0aded), closes #2
  • operator deployment: add downward api namespace value (634c878)
  • structured logging: cleanup code and add loglevel to message (7f7fe43)

v2.1.1

10 Sep 15:16
Compare
Choose a tag to compare

2.1.1 (2020-09-10)

Bug Fixes

  • leadership election: add rbac role for V1Lease objects (16e7bbd)

v2.1.0

10 Sep 15:00
Compare
Choose a tag to compare

2.1.0 (2020-09-10)

Bug Fixes

  • operator deployment: add port and probes. (931a49c), closes #52
  • references: remove the mvc testing reference from kube ops. (245e8b6), closes #51
  • resource cache: correctly recognize finalizer changes (d4cc8c7)

Features

  • Kubernetes Client: add version / namespace calls. (d64d32f)
  • leader election: support leader election via V1Lease. (387900b), closes #22

v2.0.0

01 Sep 09:20
Compare
Choose a tag to compare

2.0.0 (2020-09-01)

Features

  • Kubernetes Entities: Add some utility extensions to assist creating Kubernetes objects (#41) (436a5cf)
  • startup: add operator builder and refactor the startup code. (#47) (f8f9cce)
  • testing: split out the testing resources. (f4f6fa6)
  • Introduce a Generic Host method for adding Kubernetes controllers (#44) (aa14f62)

BREAKING CHANGES

  • testing: This removes the application factory
    from KubeOps. Please install the KubeOps.Testing
    package if you need the resources.
  • startup: the default way the operator was started was removed.
    Please change to the new "generic host" way of starting
    the operator. In the Program.cs file, the operator wrapper is still
    needed for the additional operator commands.
  • startup: Complete overhaul of the KubernetesOperator class
    The migration path will be to create a new asp.net project
    and then add the kubernetes operator back again.
  • startup: Removed the Kubernetes Operator class
    and inserted generic host extensions for the CreateHostBuilder
    method of asp.netcore.
  • startup: Removed the kubernetes test operator.
    Instead, a web application factory (called KubernetesOperatorFactory)
    was added to be used by the tests to startup the server and
    configure the test application further.
  • startup: Removed the AddResourceFinalizer extension
    method. This part is now found in the resource controller. There
    the entity types are clear and a finalizer can be attached
    with the client.