Skip to content

Releases: operator-framework/java-operator-sdk

Fix for OpenShift connection error

09 Mar 14:56
Compare
Choose a tag to compare

Better OpenShift support, make some validation optional

08 Mar 17:02
f1cdb6c
Compare
Choose a tag to compare

Updated to Quarkus 1.12.1 and Fabric8 client 5.1.1

05 Mar 20:27
5eff9d0
Compare
Choose a tag to compare

Updated to Quarkus 1.12.0 and Fabric8 client 5.1.0

23 Feb 13:13
6b696ec
Compare
Choose a tag to compare
  • Updates to Quarkus extension
    Several improvements and fixes have been made to the Quarkus extension, most notably updating to Quarkus 1.12.0.
    Please take a look at the Quarkus migration guide https://github.com/quarkusio/quarkus/wiki/Migration-Guide-1.12 for details of changes brought about with the update (notably in how applications are now packaged).

  • Update to Fabric8 kubernetes-client 5.1.0

  • Switch to use the v1 CRD API

v1.7.1: Merge pull request #318 from java-operator-sdk/fixes

29 Jan 11:49
cb585d7
Compare
Choose a tag to compare

Features

  • Quarkus extension now supports externalized configuration using application.properties.

Fixes

  • Fixes #310
  • Fixes #313
  • Fixes #314
  • Fixes #315
  • Fixes #317
  • All namespaces are watched by default and this behavior should now be consistently enforced across the SDK (#302)

Changes

  • Integration tests are not run by default anymore, use all-tests profile to run all the tests
  • It is now possible to override a controller's default configuration when registering it, using ControllerConfigurationOverrider. To make things consistent, only two versions of the register method have been kept, one using the controller (and its default configuration) and one using the controller with an associated overridden configuration.

v1.7.0: Merge pull request #288 from java-operator-sdk/client-v5

18 Jan 12:58
2385ed2
Compare
Choose a tag to compare

The 1.7.0 release updates to the 5.0.0 version of the fabric8 Kubernetes client. While this should improve the user experience quite nicely, there are a couple of things to be aware of when upgrading from a previous version as detailed below:

  • Doneable classes have been removed along with all the involved complexity
  • Controller annotation has been simplified: the crdName field has been removed as that value is
    computed from the associated custom resource implementation
  • Custom Resource implementation classes now need to be annotated with Group and Version
    annotations so that they can be identified properly. Optionally, they can also be annotated with
    Kind (if the name of the implementation class doesn't match the desired kind) and Plural if
    the plural version cannot be automatically computed (or the default computed version doesn't match
    your expectations).
  • The CustomResource class that needs to be extended is now parameterized with spec and status
    types, so you can have an empty default implementation that does what you'd expect. If you don't
    need a status, using Void for the associated type should work.
  • Custom Resources that are namespace-scoped need to implement the Namespaced interface so that
    the client can generate the proper URLs. This means, in particular, that CustomResource
    implementations that do not implement Namespaced are considered cluster-scoped. As a
    consequence, the isClusterScoped method/field has been removed from the appropriate
    classes (Controller annotation, in particular) as this is now inferred from the CustomResource
    type associated with your Controller.

Many of these changes might not be immediately apparent but will result in 404 errors when
connecting to the cluster. Please check that the Custom Resource implementations are properly
annotated and that the value corresponds to your CRD manifest. If the namespace appear to be missing
in your request URL, don't forget that namespace-scoped Custom Resources need to implement
the Namescaped interface.

Quarkus extension improvements

14 Jan 13:24
a89a718
Compare
Choose a tag to compare
Merge pull request #297 from java-operator-sdk/native-compilation

Native compilation improvements

Quarkus extension and Spring Boot test support improvements

12 Jan 15:47
0e55c7d
Compare
Choose a tag to compare
Merge pull request #290 from java-operator-sdk/timertestfix

Increase test timer slack time to make test not fail

Addresses a crasher with the Quarkus extension

18 Dec 17:09
f034684
Compare
Choose a tag to compare
Merge pull request #265 from java-operator-sdk/fix-264

Fixes #264

Initial Quarkus extension

18 Dec 12:57
8a58f48
Compare
Choose a tag to compare

This release re-organized the way the code is structured to provide a Quarkus extension called operator-framework-quarkus-extension.

It also initiates changes in the way configuration of controllers are defined, with the possibility of externalizing configuration (not completely implemented yet).

Finally, it renames the Spring Boot starter to operator-framework-spring-boot-starter to conform to Spring Boot's conventions.