Releases: fabric8io/kubernetes-client
Releases · fabric8io/kubernetes-client
4.13.1 (2021-01-20)
5.0.0 (2020-12-30)
Bugs
- Fix #2695: fromCustomResourceType should be of type
CustomResource
5.0.0-beta-1 (2020-12-21)
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
5.0.0-alpha-3 (2020-12-10)
Bugs
- Fix #2519: Generated schemas contains a valid meta-schema URI reference (
http://json-schema.org/draft-05/schema#
) - Fix #2628: add
isFinalizerValid
to encapsulate validation logic - Fix #2631: Handle null values when getting current context on OIDC interceptors
- Fix #2610: Remove deprecated module kubernetes-model-generator/model-generator-app
Improvements
- Fix #2628: Add
isFinalizerValid
method onHasMetadata
to encapsulate validation logic - Fix #2640: Edit method accepts Visitors
Dependency Upgrade
- Fix #2636: Upgrade sundrio.version to 0.23.0
5.0.0-alpha-2 (2020-11-24)
Improvements
- Fix #2614: Watcher.onClose has dedicated WatcherException as parameter.
5.0.0-alpha-1 (2020-11-18)
4.13.0 (2020-11-10)
Bugs
- Fix #2517: Replace does not work in CRUD mockwebserver
- Fix #2537: Checking for Readiness of DeploymentConfig
- Fix #2300: Remove job extensions/v1beta1 from backward compatibiliy interceptor
- Fix #2514: SharedIndexInformer watches only pods of its own namespace when run in the cluster
Improvements
- Fix #2507: Add a test for creating a Job with generateName
- Fix #2509: Reversed order + Add Kubernetes 1.16.0 + OpenShift 4.5.14 to Compatibility matrix
- Add cache in github actions for integration tests
Dependency Upgrade
- Fix #2513: Update Kubernetes Model to v1.19.1
New Features
- Fix #2531: Allow setting the maximum concurrent requests via system property / environment variable
- Fix #2534: Tekton model based on Tekton Pipeline 0.17.0
- Fix #2574: Add support for Condition type
Note: Breaking changes in the API
-
Tekton Pipeline v1beta1 sidecars field from a task step is now a list of
io.fabric8.tekton.pipeline.v1beta1.Sidecar
instead of a list ofio.fabric8.tekton.pipeline.v1beta1.Step
-
NetworkPolicy
moved toio.fabric8.kubernetes.api.model.networking.v1.NetworkPolicy
from
io.fabric8.kubernetes.api.model.networking.NetworkPolicy
-
Fix #2557: add missing
OpenShiftReadiness.isReadinessApplicable
4.12.0 (2020-10-02)
Bugs
- Fix #2442: Wrong resource kind in
ProjectRequestHandler
causes ClassCastException when handling Project resources. - Fix #2467: OpenShiftClient cannot replace existing resource with API version =! v1
- Fix #2458: Creating new instance of the DefaultKubernetesClient is hanging
- Fix #2474: Config.fromKubeconfig throws NullPointerException
- Fix #2399: Cannot change the type of the Service from ClusterIP to ExternalName
- Fix #2479: KuberentesDeserializer works on OSGi runtime environments
- Fix #2488: Unable to derive module descriptors for kubernetes-model jars
Improvements
- Enable user to select custom address and port for KubernetesMockServer
- Fix #2473: Removed unused ValidationMessages.properties
- Fix #2408: Add documentation for Pod log options
- Fix #2141: Decouple OpenShift Model from Kubernetes Client
- Fix #2452: Make Readiness.isReady publicly available from a wrapper method in KubernetesResourceUtil
Dependency Upgrade
- Bump Knative Serving to v0.17.2 & Knative Eventing to v0.17.3
New Features
- Fix #2340: Adding support for Knative Eventing Contrib
- Fix #2111: Support automatic refreshing for expired OIDC tokens
- Fix #2146: Add Support for specifying CustomResourceDefinitionContext while initializing KubernetesServer
- Fix #2314: Fetch logs should wait for the job's associated pod to be ready
- Fix #2043: Support for Tekton Triggers
- Fix #2460: Querying for an event based on InvolvedObject fields
Note Minor breaking changes:
4.11.1 (2020-09-02)
Bugs
- Fix #2445: ConfigMap and other resources are replaced
4.11.0 (2020-08-26)
Bugs
- Fix #2373: Unable to create a Template on OCP3
- Fix #2308: Fix kubernetes client
Config
loading KUBECONFIG with external authentication command - Fix #2316: Cannot load resource from stream without apiVersion
- Fix #2354: Fix NullPointerException in ResourceCompare when no resource is returned from fromServer.get()
- Fix #2389: KubernetesServer does not use value from https in crud mode
- Fix #2306: Make KubernetesServer CRUD mode work with informers
- Fix #2418: CertificateSigningRequest doesn't implement Namespaced
- Fix #2265: InAnyNamespace uses invalid api endpoint for SelfSubjectAccessReviews
- Fix #2404: Readiness.isReady doesn't handle extensions/v1beta1 Deployment
- Fix #2389: KubernetesServer JUnit rule ignores value of https when using crud mode
Improvements
- Fix #2331: Fixed documentation for namespaced informer for all custom types implementing
Namespaced
interface - Fix #2406: Add documentation for serializing resources to YAML
Dependency Upgrade
- Fix #2360: bump mockito-core from 3.4.0 to 3.4.2
- Fix #2355: bump jandex from 2.1.3.Final to 2.2.0.Final
- Fix #2353: chore: bump workflow action-setup versions + kubernetes to 1.18.6
- Fix #2292: Update createOrReplace to do replace when create fails with conflict
- Fix: Bump SnakeYaml to version 1.26 (as required for OSGi bundle for jackson-dataformat-yaml)
- Fix #2401: bump maven-resources-plugin from 3.1.0 to 3.2.0
- Fix #2405: bump mockito-core from 3.4.4 to 3.5.0
New Features
- CSI Volume Snapshot extension
- Fix #2311: Add Support for creating bootstrap project template
- Fix #2287: Add support for V1 and V1Beta1 CustomResourceDefinition
- Fix #2319: Create Config without using auto-configure functionality or setting env variables
- Fix #2284: Supports create and run a particular image in a pod operation using client
- Fix #2321: Add Support for new resources in OpenShift Model
Note: Some classes have been moved to other packages:
- CustomResourceDefinition has been moved to
io.fabric8.kubernetes.api.model.apiextensions.v1
andio.fabric8.kubernetes.api.model.apiextensions.v1beta1
- SubjectAccessReview, SelfSubjectAccessReview, LocalSubjectAccessReview and SelfSubjectRulesReview have been moved to
io.fabric8.kubernetes.api.model.authorization.v1
andio.fabric8.kubernetes.api.model.authorization.v1beta1
io.fabric8.tekton.pipeline.v1beta1.WorkspacePipelineDeclaration
is nowio.fabric8.tekton.pipeline.v1beta1.PipelineWorkspaceDeclaration