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 forCustomResourceinstances CustomResourceinstances must now be annotated with@ApiVersionand@ApiGroupso that the
associated information can be automatically computedHasMetadataprovides default implementations forgetApiVersionandgetKindbased on the
presence (or not) of annotations on the target class- Static methods have been introduced on
HasMetadataandCustomResourceto encapsulate the
logic used to resolveKind,ApiVersion,Group,Version,Plural,SingularandCRD Name
properties - New
v1CRDFromCustomResourceTypeandv1beta1CRDFromCustomResourceTypemethods have been
introduced onCustomResourceDefinitionContextto initialize aCustomResourceDefinitionBuilder
with the information provided by a specificCustomResourceimplementation, making it much
easier to create CRDs if you already have defined your custom resource type CustomResourceis 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
@ApiVersionand@ApiGroupto simply@Versionand@Group, respectively. This was done
to unify annotations and also remove potential confusion between values provided to@ApiVersion
and what is returned byHasMetadata#getApiVersion