-
Fix #1961: Two SharedInformer issues related to kube-apiserver unavailable and relisting
-
Fix #2023: Class RawCustomResourceOperationsImpl can't handle HTTP responses with empty body coming from the k8s cluster (Jackson deserialization error was throwed). This kind of response can be returned after executing operations like the delete of a custom resource.
- Fix #2012: osgi: Allow the ManagedKubernetesClient to consume an available OAuthTokenProvider
- Updated Knative model to v0.12.0
- Fix #1820: Override Createable.create(T) to avoid generic array creation
- Fix #1847: Remove resource-*.vm files from *-client.jar
- Fix #959: Support for double braced
${{ }}
template placeholders - Fix #1964: Refactor Duration
- Fix #703: Fix NullPointerException in Config.tryKubeConfig
- Fix #2000: Unable to create jobs in OSGi environments
- Fix #1874: Added unit tests verifying windows line-ends (CRLF) work
- Fix #1177: Added support for OpenID Connect token in kubeconfig
- Update Jackson Bom to 2.10.2
- Fix #1968: Support for PodSecurityPolicies in Kubernetes 1.17
- Fix #1948: LeaderElection Implementation (Lock Implementations: ConfigMap & Lease)
- Fix #1937:
Quantity.getAmountInBytes()
should be able to handle negative exponents - Fix #1805: Unable to create Template on OCP4
- Fix #1894: SharedInformer Improvements
- Fix #1963: Use Serialization not a default ObjectMapper in Watch
- Fix #1957: Build Failing on CI due to Central repository moving to HTTPS
- Fix #1962: chore(deps): bump karaf.version from 4.2.7 to 4.2.8
- Fix #1960: chore(deps): bump junit-bom from 5.5.2 to 5.6.0
- Fix #1939: chore(deps): bump sundrio.version from 0.20.0 to 0.21.0
- Fix #1917: Allow user to add custom Headers to client
- Fix #1850: Add option to disable timestamps in build logs on Openshift
- Fix #1902: Fix the usage of reflection, so that
getMetadata
is detected properly - Fix #1925: Client should always read services from server during replace
- Fix #1486: Creating CRDs with schema validation is broken
- Fix #1707: HorizontalPodAutoscalerSpecBuilder found no metric method
- Fix #885: Quantity doesn't honour the unit
- Fix #1895: Parsing different quantity formats
- Fix #1880: Remove use of reapers manually doing cascade deletion of resources, leave it upto Kubernetes APIServer
- Test coverage for ServiceCatalog
- Fix #1772: Add Javadocs for KubernetesClient class
- Fix #1889: update tekton from v0.7.0 to v0.9.0
- Fix #1872: Support for kubernetes 1.17
- Fix #417: Support Subresources
- Fix #1548: Allow user to update the status on CustomResources
- Fix #1282: Add Support for fetching Kubernetes metrics
- Fix #1917 Allow user to add custom headers to client
- Fix #1866: fix disabled Integration tests
- Fix #1859 - Pass caller's propagation-policy/cascade options to the underlying replicaset when deleting a deployment
- Fix #1832: chore: refactor poms and update some dependencies
- SelfSubjectRulesReview test coverage
- Fix #1869: chore(deps): bump maven.surefire.plugin.version from 3.0.0-M3 to 3.0.0-M4
- Fix #1864: chore(deps): bump jackson-bom from 2.10.0 to 2.10.1
- Fix #1041: Support cascading delete on custom resources
- Fix #1765 Ability to upload files to a pod
- Fix #1838: Use the correct apiGroup for Knative in KnativeResourceMappingProvider
- Fix #1856: Prevent NPE loop when deleting locally loaded scaleable resource (e.g. statefulset).
- Fix #1853: Revert #1800 due to the concern pointed out here
- chore(deps): bump maven-jar-plugin from 3.1.2 to 3.2.0
- chore(deps): bump maven-source-plugin from 3.1.0 to 3.2.0
- chore(deps): bump jackson-bom from 2.9.10 to 2.10.0
- Fix #1188: Support for logs for Jobs
- Fix #1833: Respect the termination grace period from the Kubernetes resource by default
- Fix #1827: Fix
withGracePeriod
andwithPropagationPolicy
return type to safely chain further DSL methods and default GracePeriod to 30s - Fix #1828: VersionInfo date parsing of year
- Fix #1844: KubernetesDeserializer can now handle ArrayNode.
- Fix #1853: Reverts changes introduced by #1800
- Cleanup log4j dependency from project
- Fix #1816: Support for Binding in k8-client dsl
- Fix #1796: Check if BouncyCastle provider is set
- Fix #1724: createOrReplace function does not work properly for Custom defined resources
- Fix #1775: KubernetesList.list().delete(resources) orphanDependents semantics change between 4.1.3 and 4.5.2
- Fix #1803: Missing "/" in request url while using customresource client
- Fix #1789: Create or replace on operation seems broken
- Fix #1782: Informer Deadlock; Fix lock typo in SharedProcessor
- Fix #1607: WaitUntilReady for lists
- Fix #1797: Utils.waitUntilReady should record the stack trace of the caller before rethrowing an exception
- Add support for filtering labels by EXISTS/NOT_EXISTS via the single argument versions of
.withLabel
and.withoutLabel
- Schedule reconnect in case of HTTP_GONE when watching; the rescheduled connect will start from beginning of history by not specifying resourceVersion
- Example added for PortForward.
- Updated Knative Serving to v0.9.90
- Update Tekton to v0.7.0
- Add support for watch in RawCustomResourceOperations
- Fix #1767: Removed fixed override for Okhttp client's
pingInterval
- Fix #1758: generation of resource handlers for OpenShift
- Fix #1626: Scaling StatefulSets with waiting seems to fail
- Updated Kubernetes Model to Kubernetes v1.15.3
- Fix #1380: Support for ControllerRevision
- Added Template Instance Support
- Fix #1384: Initial draft for SharedInformer support.
- Fix #1759: Portforwarding is broken
- Removed Bean Validation integration
- Fix #1745: Calling getInputStreamFromDataOrFile function with correct parameter order
- Fix #1730: Fix failing build on jdk11
- Fix #1634: Cascade delete can't be overriden
- Fixed Knative model so that it recognizes Container and Volume types as Buildable.
- Remove lexicographic resource version check in WatchHTTPManager
- Added in kubernetes-server-mock (CRUD) the withoutLabel filter and respective tests
- Removed @Valid annotation from all model class fields (improves quarkus integration).
- Allow user to set a propagation policy on deletion
- Fix #1706: admissionregistration resources are now parsed correctly
- Fix #1722: Service port forward are now done in the correct namespace
- Fixed deserialize of
IntOrString
with correctKind
instead ofnull
- Test coverage for HorizontalPodAutoscaler
- Added example for PersistentVolumeClaim
- Added test coverage for ResourceQuota
- Fix #1331: Migrated from JUnit 4 to JUnit 5
- Service Catalog extension
- Fix #1690: Endpoints is always pluralized
- Fix #1684: Fixed URL resolution algorithm for OpenShift resources without API Group name
- Fix #1650: Introduced
kubernetes.disable.autoConfig
system property to disable auto configuration in Config - Fix #1661: Remove generic parameter from KubernetesResource
- Improved OpenShiftOperation.wrap method performance
- RawCustomResourceOperationsImpl#makeCall now closes the created Response object
- Fix #1592: Corrected type returned by Config.builder()
- Fix #1565: CRD's Enums are prefixed with Raw keyword
- Fixed user/password authentication bug in OpenShift 4
- Fix #1667: Origin header for watch requests had a port of -1 when no port specified
- Test coverage for PersistentVolumeClaim
- Fix #1589: Move HorizontalPodAutoscaler to autoscaling/v1
- Fix #1553: Allow to explicitly set non-matching field selectors using
withoutField
- Cleaned up kubernetes-model pom.xml
- Removed deprecated KubernetesKind enum
- Knative extension
- Tekton extension
- Increased OpenShift 4.x compatibility
- Fix #1592: Corrected type returned by Config.builder()
- Set cascade deletion to true in case of list operations
- Fix #1617: Multiple CA certificates with non-unique Subject DN not loaded
- Fix #1634: Make map backing KubernetesDeserializer thread-safe
- Test coverage for Namespace.
- Example added for NamespaceQuota
- Example added for Endpoints.
- Test coverage for Endpoints.
- Fix #1589: Move HorizontalPodAutoscaler to autoscaling/v1
- Fix #1553: Allow to explicitly set non-matching field selectors using withoutField
- assertNotNull replaced with assertTrue for boolean statements in unit tests
- Test coverage for PodPreset
- Added test coverage for PersistentVolume
- Fix #1290: Added github stale bot.
- Add type parameter to make CustomResourceList.getItems() return a typed List.
- Upgrade Jackson to version 2.9.9
- Fixes #973: added support for service catalog client
- Added support for SelfSubjectAccessReview
- Added support for SelfSubjectRulesReview
- Fix #1500: exec
redirectingInput
was not correctly setting the input pipe (since 4.2.0). - Fix #1507: remove unnecessary OutputStream copying a directory and return the directory object instead the file object when a directory is copied or read
- Fix #758: Deleting Deployments with
.cascading(true)
creates a new Replica Set - Fix #1515: HasMetadataOperation.periodicWatchUntilReady is broken
- Fix #1550: MutatingWebhookConfigurationOperationsImpl should be a NonNamespaceOperation
- Added example for raw custom resources.
- Fix #1523: Added createOrReplace() method to RawCustomResourceOperations dsl
- Feature #1374 Add support for resizeChannel in ExecWebSocketListener
- Fix #1297: wrong result produced when exec in used and params contains '&'. Url string not encoded properly.
- Fix #1449: System.currentTimeMillis() replaced with System.nanoTime()
- Fix #1495: avoid runtime dependency on Commons Collections
- Fix #1297: wrong result produced when exec in used and params contains '&'. Url string not encoded properly.
- Fix #1473: Use correct plural form in OpenshiftRole
- Fix #1480: The kubernetes-client is not optionally depending on bouncycastle.
- Fix #1490: Resource could not be loaded
- Fix #1468: Taking labels into consideration when comparing resources for equality.
- Fix #1455: Use SubjectAccessReview and LocalSubjectAccessReview in kubernetes client using subjectAccessReviewAuth()
- First Draft of Custom Resource Improvements (#1472)
- Fix #1387: ValidatingWebhookConfigurationOperationsImpl should be a NonNamespaceOperation
- Fix #1429: Fixes JsonMappingException: No resource type found for:v1#List when reading a Kubernetes List YAML
- Fix #760: Api get pod from yaml issue
- Fix #807: Loading a deployment from server with a config file throws exception
- Fix #1425: Preserve labels and fields when using CRD's withResourceVersion()
- Service DSL now includes methods for port forwarding
- Introduce file and dir read / copy from pods
- Upgrade Sundrio to 0.17.2
- Upgrade to Bean Validation 2.0
- Fix nanosecond conversion using waitUntilReady
- Fix #1008: Use a reasonable buffer size for exec stdin
- Fix #1005: Loading a template from file and processing it locally by passing parameters map is broken
- Fix #1362: store exceptions thrown in port forwarder websocket
- Generate Jandex index file for faster lookup performance
- Fix #1361: Relax restrictions on environment variable names
- Refactor: Use lambdas wherever possible across project
- Fix #1371: Add an example for Job Controller
- Bump Snakeyaml to version 1.24
- Feature 213: Added require( ) method to Resource object class.
- Fix #1064: Make Deployments rollable
Bugs
* Fix #1271: Issue deploying ReplicaSet to extensions/v1beta1
* Fix #1152: Renamed Kubernetes RBAC resources to use non-prefixed names and renamed Openshift RBAC resources to prefix with Openshift
* Fix #1218: CustomResourceDefinitions: cascading() causes NoSuchMethodError
* Fix #1309: Can't get VersionInfo correctly
* Fix #1332: Unable to use ExecCredentials
* Fix #1351: NPE IpAddressMatcherTest
Improvements
* Updated compatability matrix after model upgrade in README.md
* Fix #1306: Support `KUBECONFIG` env var with multiple paths
* Classes implementing KubernetesResourceList has now generic type set.
* Fix #1348: support `v1beta1` version for `ExecCredentials`
* Fix #1326: Make CustomResource @Buildable
* Fix #1354: suppress log warnings that `CustomResourceDefinition`s are still in beta
Dependency Upgrade
* Updated jackson to 2.9.8
* Upgrade okhttp to 3.12.0
New Feature
* Fix #1286: Pod Preset Support
* Fix #1339: oAuth token rotation support
* Fix #1314: Support for EC Private Keys
Misc
* Appended some files to licence check exclusion list.
Bugs
* Fix #1239: Fix one case of OkHttp connection leaks
* Fix #1266: Not setting optional Impersonate-Group results in NPE in ImpersonatorInterceptor
* Fix #1238: Renamed files with invalid Windows characters
* Fix #1260: Added Windows support in ConfigTest.honorClientAuthenticatorCommands
* Fix #579: Add Timestampable interface to PodOperationsImpl/BuildOperationsImpl and set timestamps parameter
* Fix #1273: customResources can't be used with Cluster scoped CRDs
* Fix #1228: Closed InputStream in OperationSupport's handleResponse to avoid leak
* Fix #1280: Fix ExecCredential deserialization in kubeconfig auth
Improvements
* Fix #1226 : Extend and move integrations tests
* Fix #989 : Add support for waitForCondition
* Fix #1293 : OpenShiftOAuthInterceptor.authorize() should only throw IOException
Dependency Upgrade
* Fix #1223: jackson-dataformat-yaml dependency (2.7.7) ageing
* Fix #1262: Upgrade maven-surefire-plugin to 3.0.0-M1
* Fix #1272: Upgrade Awaitility to version 3.1.3
* Fix #1235: Upgrade kubernetes-model to latest kubernetes/Openshift versions
New Feature * Fix #1142: Pagination Support
* Fix #1234: VolumeNodeAffinity support
* Fix #1244: Pod Priority Support
* Fix #1186: Added Support for creating HPA based on custom metrics
Bugs
* Fix #1214 : Watch resource versions not correctly tracked resulting in 410 errors on reconnect
Improvements
* Fix #1179 : Impersonate-Extra keys may be specified multiple times
* Fix #1182 : Fixes flaky integration tests.
* Fix #1200 : Support client authenticator commands like `aws-iam-authenticator`.
* Fix #1201 : Fix problems with swallowed InterruptedExceptions
* Chore #1168 : Upgrade to Java 8
* fix #1197 : Broken withName() method for CustomResourceDefinition.
Dependency Upgrade
New Feature
Bugs
* Fix #1180 : DeploymentExamples requires the definition of a selector with match labels
* Fix #1099 : CustomResourceDefinitions: withResourceVersion() causes NoSuchMethodError
* Fix #1156 : Watcher does not have correct authentication information in Openshift environment.
* Fix #1125 : ConfigMap labels are ignored when using mock KubernetesServer
* Fix #1144 : Get Request with OpenShift Mock Server Not Working
* Fix #1147 : Cluster context was being ignored when loading the Config from a kubeconfig file
* Fix #1162 : Deletion of DeploymentConfig now does not fail randomly because of issues related to owner references of the ReplicationController
* Fix #1165 : Null parameter values when processing a template are now handled properly
* Fix #1173 : Send response to Callback for exec commands that have no textual feedback
* Fix #1172 : Use v1beta1 for CronJob
* Fix #1158: Add support for label selectors in the mock server
Improvements
* Added Kubernetes/Openshift examples for client.getVersion()
* Fix #1126 : Add new option `kubernetes.disable.hostname.verification` / `KUBERNETES_DISABLE_HOSTNAME_VERIFICATION` to disable hostname verification
* Fix #1178 : Impersonate-Group may be specified multiple times
Dependency Upgrade
* Fix #924 : Include kubernetes-model in client BOM with dependencies.
New Feature
* Fix #1066 : Add support for Kubernetes RBAC Role and Role Binding
* Fix #1150: Add support for Kubernetes RBAC Cluster Role and Cluster Role Binding
* Fix #770: Added Support for CronJob
* Fix #1140: Provide User Utilities
* Fix #1139 : Make it easy to get the URL of a service.
Bugs
* Fix #1098 : Unable to create LimitRange from yaml
* Fix #1089 : Query parameters are not correctly processed if set in `masterUrl`
* Fix #1112 : Append multiple query param in masterUrl
* Fix #1085 : Impersonate parameters are not configurable for DefaultOpenShiftClient
* Fix #1106 : Fix typo in crud mode in mockserver
New Feature
* Fix #1020 : Support for Kubernetes/Openshift v1.9/v3.9 respectively
Improvements
* Fix #1119 : Regression Test are more stable and takes less time to execute
Dependency Upgrade
* Kubernetes Model upgraded to 3.0.0 with support for Kubernetes/Openshift v1.9/v3.9 respectively
Features and Fixes Available
* Resources according to Kubernetes/Openshift v1.9/v3.9
* Add support for RBAC Role, Role Binding and Netnamespace in Model
* KubernetesDeserializer shouldn't pickup mappings from incompatible providers
* Add all packages in KubernetesDeserializer
Major Movements and Changes
* SecurityContextConstraints has been moved to OpenShift client from Kubernetes Client
* Job dsl is in both `batch` and `extensions`(Extensions is deprecated)
* DaemonSet dsl is in both `apps` and `extensions`(Extensions is deprecated)
* Deployment dsl is in both `apps` and `extensions`(Extensions is deprecated)
* ReplicaSet dsl is in both `apps` and `extensions`(Extensions is deprecated)
* NetworkPolicy dsl is in both `network` and `extensiosn`(Extensions is deprecated)
* Storage Class moved from `client base DSL` to `storage` DSL
* PodSecurityPolicies moved from `client base DSL` and `extensions` to only `extensions`
* ThirdPartyResource has been removed.
Bugs
- Fix #1083 : Mock Kubernetes server only handles core and extensions API groups
- Fix #1087 : Mock server can't list custom resources
- Fix #1055 : Unable to log in to cluster when using username and password
New Feature
- Support
error
websocket channel - fabric8io#1045
Improvements
- Do not repeatedly create Config instance in exec - fabric8io#1081
- Determine kubernetes service host and port from environment if available - fabric8io#1086
- Upgraded Kuberneted Model version to 2.1.1
Features and Fixes Available
- KubernetesDeserializer can now lookup for resource mappings via ServiceLoader - fabric8io/kubernetes-model#307
- Add new package to OSGi exports - fabric8io/kubernetes-model#310
- Add additional types that are needed to support extensions - fabric8io/kubernetes-model#305
Bugs
- Fix #1070 : Error parsing openshift json template with the latest version
New Feature
- Fix #1048 : Add support for the k8s/openshift version
Improvements
- Fixes premature call to watcher onClose
Bugs
- Fix #1013 : Kubernetes connection is not getting closed.
- Fix #1004 : Multiple document handling breaks if "---" found anywhere in the document
- Fix #1035 : RejectedExecutionException in WatchHTTPManager
- Impersonation parameters not set in withRequestConfig - fabric8io#1037
Improvements
- NO_PROXY setting now supports IP ranges so you can specify whole subnet to be excluded from proxy traffic eg. 192.168.0.1/8
Bugs
New Feature
- Added support for StorageClass - fabric8io#978
- Added support for PodSecurityPolicy - fabric8io#992
- The client now warns when using Kubernetes alpha or beta resources - fabric8io#1010
- A Config can now be built from
Config.fromKubeconfig(kubeconfigFileContents)
: fabric8io#1029
Improvements
- Fixed issue of SecurityContextConstraints not working - fabric8io#982 Note :- This got fixed by fixing model - fabric8io/kubernetes-model#274 Dependencies Upgrade