Bugs
- Fix #2671: Reliability improvements to watchers
- Fix #2592: ConcurrentModificationException in CRUD KubernetesMockServer
- Fix #2519: Generated schemas contains a valid meta-schema URI reference (
http://json-schema.org/draft-05/schema#
) - Fix #2631: Handle null values when getting current context on OIDC interceptors
- Fix #2510 : Yaml containing aliases rejected due to FasterXML bug
- Fix #2651: SharedInformers should ignore resync on zero resyncPeriod
- Fix #2656: Binding operations can be instantiated
Improvements
- Fix #2676: Allow specifying PropagationPolicy when using deleteExisting
- Fix #2678: Adds a convenience method for referring to Cache keys by namespace and name rather than item
- Fix #2665: CustomResourceDefinitionContext.fromCrd support for v1 CustomResourceDefinition
- Fix #2642: Update kubernetes-examples to use apps/v1 Deployment rather than extensions/v1beta1
New Features
- Fix #2611: Support for Custom Resource and Custom Resource Definitions has been improved
- New annotations have been introduced for users to specify group, version, singular and plural
properties forCustomResource
instances CustomResource
instances must now be annotated with@ApiVersion
and@ApiGroup
so that the
associated information can be automatically computedHasMetadata
provides default implementations forgetApiVersion
andgetKind
based on the
presence (or not) of annotations on the target class- Static methods have been introduced on
HasMetadata
andCustomResource
to encapsulate the
logic used to resolveKind
,ApiVersion
,Group
,Version
,Plural
,Singular
andCRD Name
properties - New
v1CRDFromCustomResourceType
andv1beta1CRDFromCustomResourceType
methods have been
introduced onCustomResourceDefinitionContext
to initialize aCustomResourceDefinitionBuilder
with the information provided by a specificCustomResource
implementation, making it much
easier to create CRDs if you already have defined your custom resource type CustomResource
is now parameterized by the spec and status types that it uses which further
removes boiler plate
- New annotations have been introduced for users to specify group, version, singular and plural
- Rename
@ApiVersion
and@ApiGroup
to simply@Version
and@Group
, respectively. This was done
to unify annotations and also remove potential confusion between values provided to@ApiVersion
and what is returned byHasMetadata#getApiVersion