kubernetes-client

Java client for Kubernetes & OpenShift

APACHE-2.0 License

Stars
3.3K
Committers
370

Bot releases are hidden (Show)

kubernetes-client - v4.3.0

Published by rohanKanojia over 5 years ago

Bugs

  • 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

Improvements

  • Fix #1506: Added example for raw custom resources.

Dependency Upgrade

  • Fix #1442: Upgrade kubernetes model to v1.14.2
  • Fix #1554 : bump json-unit-fluent from 2.6.1 to 2.6.3
  • Fix #1542 : bump jandex-maven-plugin from 1.0.5 to 1.0.6
  • Fix #1509: bump maven-compiler-plugin from 3.8.0 to 3.8.1
  • Fix #1513: bump lombok from 1.18.6 to 1.18.8
  • Fix #1516: bump maven-scr-plugin from 1.22.0 to 1.26.2
  • Fix #1501: Bump karaf.version from 4.2.4 to 4.2.5

New Feature

  • Fix #1523: Added createOrReplace() method to RawCustomResourceOperations dsl
  • Feature #1374 Add support for resizeChannel in ExecWebSocketListener
kubernetes-client - v4.2.1

Published by rohanKanojia over 5 years ago

Bugs

  • 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 #1468: Taking labels into consideration when comparing resources for equality.

Improvements

  • Fix #1455: Use SubjectAccessReview and LocalSubjectAccessReview in kubernetes client using subjectAccessReviewAuth()

Dependency Upgrade

  • Bumps karaf.version from 4.2.3 to 4.2.4 (#1446).

New Feature

  • First Draft of Custom Resource Improvements (#1472)
kubernetes-client - v4.2.0

Published by rohanKanojia over 5 years ago

Bugs

  • 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 #1434 Fix resource list fromServer().get()
  • Fix #1425 Preserve labels and fields when using CRD's withResourceVersion()
  • Fix #1436 : ResourceHandlers now take into consideration apiVersion

Improvements

  • Fix #1425: Preserve labels and fields when using CRD's withResourceVersion()
  • #1431 chore: explicitly include the jandex.idx removed by the bundle plugin

Dependency Upgrade

  • Upgrade Sundrio to 0.17.2
  • Upgrade to Bean Validation 2.0
  • Bump license-maven-plugin from 2.11 to 3.0
  • Bump exec-maven-plugin from 1.4.0 to 1.6.0
  • Bump maven.surefire.plugin.version from 3.0.0-M1 to 3.0.0-M3
  • Bump maven-resources-plugin from 2.6 to 3.1.0
  • Bump maven-jar-plugin from 3.0.1 to 3.1.1
  • Bump assertj-core from 3.8.0 to 3.12.1
  • Bump javax.annotation-api from 1.2 to 1.3.2
  • Bump maven-antrun-plugin from 1.7 to 1.8
  • Bump maven-scr-plugin from 1.22.0 to 1.26.0
  • Bump maven-shade-plugin from 3.0.0 to 3.2.1
  • Bump arquillian.cube.version from 1.15.2 to 1.18.2
  • Bump maven-javadoc-plugin from 2.10.3 to 3.1.0
  • Bump javax.el from 2.2.4 to 2.2.6
  • Bump jacoco-maven-plugin from 0.8.2 to 0.8.3
  • Bump org.apache.felix.scr.annotations from 1.9.12 to 1.12.0
  • Bump build-helper-maven-plugin from 1.10 to 3.0.0
  • Bump maven-source-plugin from 2.4 to 3.0.1
  • Bump slf4j.version from 1.7.13 to 1.7.26
  • Bump json-unit-fluent from 1.25.1 to 2.4.0
  • Bump geronimo-atinject_1.0_spec from 1.0 to 1.1
  • Bump nexus-staging-maven-plugin from 1.6.7 to 1.6.8
  • Bump maven-compiler-plugin from 3.5.1 to 3.8.0
  • Bump maven-gpg-plugin from 1.5 to 1.6
  • Bump generex from 1.0.1 to 1.0.2
  • Bump karaf.version from 4.2.2 to 4.2.3
  • Bump lombok from 1.16.22 to 1.18.6
  • Bump log4j.version from 2.10.0 to 2.11.2
  • Bump depends-maven-plugin from 1.3 to 1.4.0

New Feature

  • Fix #1314: Support for EC Private Keys
  • Fix #1453 Service DSL now includes methods for port forwarding
  • Fix #1444 Introduce file and dir read / copy from pods
  • #1433 refactor: Introduce OperationContext, to limit the use of reflection.
kubernetes-client - v4.1.3

Published by rohanKanojia over 5 years ago

Bugs

  • 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 #1347: the JSON property is apiVersion, not apiGroupVersion

Improvements

  • Fix #1362: store exceptions thrown in port forwarder websocket
  • Fix #1367: Generate Jandex index file for faster lookup performance
  • Fix #1361: Relax restrictions on environment variable names
  • Refactor #1369 : Use lambdas wherever possible across project
  • Fix #1371: Add an example for Job Controller

Dependency Upgrade

New Feature

  • Feature #213: Added require( ) method to Resource object class.
  • Fix #1064: Make Deployments rollable
kubernetes-client - v4.1.2

Published by rohanKanojia over 5 years ago

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:

  • Fix #1303: Updated compatability matrix after model upgrade in README.md
  • Fix #1306: Support KUBECONFIG env var with multiple paths
  • Fix #1342 : Classes implementing KubernetesResourceList has now generic type set.
  • Fix #1348: support v1beta1 version for ExecCredentials
  • Fix #1354: suppress log warnings that CustomResourceDefinitions are still in beta
  • Fix #1265: JDK11 Support
  • Fix #1305: Appended some files to licence check exclusion list.
  • Fix #1324: Fixed jackson jar version collision.

Dependency Upgrade:

  • Fix #1338: Updated jackson to 2.9.8
  • Fix #1301 : Upgrade okhttp to 3.12.0

New Feature:

  • Fix #1286: Pod Preset Support
  • Fix #1339: oAuth token rotation support
  • Fix #1322: Code generation based on velocity transformation, in order to generate boilerplate code.This removes all handlers and many of the operation implementations
kubernetes-client - v4.1.1

Published by rohanKanojia almost 6 years ago

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 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

kubernetes-client - v3.1.13

Published by rohanKanojia almost 6 years ago

kubernetes-client - v4.0.4

Published by rohanKanojia about 6 years ago

Bug Fixes:
* 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

Improvements:
* Fix #1133 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.

kubernetes-client - Kubernetes Client 4.0.0

Published by piyush-garg over 6 years ago

  • Support for Kubernetes/OpenShift 1.9/3.9 respectively.
  • Query Parameters are not correctly processed if set in masterUrl
  • Append Multiple Query Params in masterUrl
  • Imersonateparameters are not configurable for DefaultOpenshiftClient
  • Unable to create LimitRange from yaml
  • Fix typo in crud mode in mockserver
  • Regression Test are more stable and take less time to execute
  • Upgraded Kubernetes Model version to 3.0.0
    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.
kubernetes-client - Kubernetes Client 3.2.0

Published by piyush-garg over 6 years ago

  • Mock Kubernetes server only handles core and extensions API groups
  • Mock Server can't list custom resources
  • Unable to log in to cluster when using username and password
  • Support error WebSocket channel
  • Do not repeatedly create Config instance in exec
  • Determine Kubernetes service host and port from the environment if available
  • Upgraded Kubernetes Model version to 2.1.1
    Features and Fixes Available with Model Upgrade
    - Kubernetes Deserializer can now lookup for resource mappings via ServiceLoader
    - Add a new package to OSGI exports
    - Add additional types that are needed to support extensions
kubernetes-client - Kubernetes Client 3.1.12

Published by piyush-garg over 6 years ago

  • Add support for the Kubernetes/OpenShift version [1] (Feature)
  • Fix to parse YAML or JSON files which contain a line of length less than 3 [2] (Regression)
  • Fixes premature call to watcher onClose [3]
kubernetes-client - Kubernetes Client 3.1.10

Published by piyush-garg over 6 years ago

  • Added support for StorageClass
  • Added support for PodSecurityPolicy
  • The client now warns when using Kubernetes alpha or beta resources
  • A Config can now be built from Config.fromKubeconfig(kubeconfigFileContents)
  • Fix issue of SecurityContextConstraints not working
  • Error when reading PEM certificate with empty lines
  • Add log and exec tests in PodIT
  • Regression Test does not work on Kubernetes
  • Add CRUD test and Regression test for NetworkPolicy and SecurityContextConstraints
  • Add contributor guidelines
kubernetes-client - Kubernetes Client 3.1.11

Published by piyush-garg over 6 years ago

  • Updated Kubernetes Model Version and fixed ImageStreamTag. Added Unit and Regression Test Regarding ImageStreamTag
  • Rejected Execution Exception in Watch Http Manager
  • Multiple document handling breaks if --- found anywhere in the document
  • Kubernetes Connection is not closed
  • NO_PROXY setting now supports IP ranges so you can specify the whole subnet to be excluded from proxy traffic
  • Refactor WatchConnectionManager/WatchHttpManager to make max reconnect back off interval exponents configurable, keeping default value to 32x of the initial value
  • Switch reconnect backoff message in watch manager to debug level
  • Impersonation parameters not set in withRequestConfig
  • Added an Example for ImageStream and Fixed ImageStreamTag Example
  • Upgraded log4j version to 2.10.0
kubernetes-client - starting the 2.5.x releases

Published by jstrachan over 7 years ago

Package Rankings
Top 1.31% on Proxy.golang.org
Top 2.27% on Repo1.maven.org
Badges
Extracted from project README
Join the chat at https://gitter.im/fabric8io/kubernetes-client Build Sonar Scanner Bugs E2E Tests Release Twitter Maven Central Javadocs Maven Central Javadocs Maven Central Javadocs Maven Central Javadocs Maven Central Javadocs Maven Central Javadocs Maven Central Javadocs Maven Central Javadocs Maven Central Javadocs
Related Projects