Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency io.fabric8:kubernetes-client to v5 #192

Merged
merged 3 commits into from
Oct 7, 2021

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 18, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
io.fabric8:kubernetes-client (source) 3.2.0 -> 5.8.0 age adoption passing confidence

Release Notes

fabric8io/kubernetes-client

v5.8.0

Bugs
  • Fix #​3445: TokenRefreshInterceptor throws when running incluster config
  • Fix #​3456: io.fabric8:crd-generator README should reference crd-generator-apt instead of now removed crd-generator artifact
  • Fix #​3384: preventing NPE from being logged with pod execs.
  • Fix #​3484: Ensuring that the informer isWatching flag is correctly reported
Improvements
  • Fix #​3468: Add method to get non-running Informer from context specific dsl
  • Fix #​3398: Added javadocs explaining the wait parameter
  • Fix #​3491: Add more metadata to KubernetesClientException when possible
Dependency Upgrade
  • Fix #​3326: Upgrade Kubernetes Model to v1.22.1

v5.7.3

Bugs
  • Fix #​3433: Extension annotator doesn't generate XxxEditable classes
  • Fix #​3450: CRD generator fails with ClassCastException in some cases
  • Fix #​3442: make sure new CRDGenerator instances start with a clean generation context
Dependency Upgrade
  • Fix #​3438: Upgrade Sundrio to 0.50.1

v5.7.2

Dependency Upgrade

v5.7.1

Bugs
  • Fix #​3411: enum values should honor JsonProperty annotations during CRD generation
  • Fix #​3431: required list properly uses renamed properties during CRD generation
  • Fix #​3429: KubernetesCrudDispatcher throw ConcurrentModificationException when using WatchEventsListener
Improvements
  • Fix #​3414: Add equals and hashCode implementations for CustomResource
  • Fix #​3287: Add support for field descriptions in CRD Generator

v5.7.0

Bugs
  • Fix #​3325: All Cluster Scoped Kubernetes resources should use NonNamespacedOperation
  • Fix #​3346: https configuration ignored for OpenShiftServer in CRUD mode
  • Fix #​3347: OpenShiftConfig missing some configurations from provided Config
  • Fix #​3379: using updateStatus rather than patchStatus in the Raw logic
Improvements
  • Fix #​3316: allow locking deletion to resource version
  • Fix #​3350: Replace references to impls with interfaces in several places in the the dsl
  • Fix #​3327: Removed generated ResourceHandlers
  • Fix #​3349: ensuring that dsl context values always are applied over user ListOptions
  • Fix #​3372: Add generatePackageSuffix option to Model Generator to allow flexible package names for generated model
  • Fix #​3336: Add ConversionReview in Kubernetes API Extensions model
  • Fix #​3367: Let CRDGenerator clients handle output (#​3366, #​3371)
New Features
  • Fix #​3380: Update chaos-mesh extension to v1.2.3. Add AwsChaos.
Note: Breaking changes in the API
DSL Changes:
  • #​3327 DSL methods mentioning customResources have been deprecated: KubernetesClient.customResources, SharedIndexInformerFactory.sharedIndexInformerForCustomResource. See replacement resources and sharedIndexInformerFor methods instead. Also CustomeResourceDefinitionContext has been replaced by ResourceDefinitionContext - for example in KubernetesClient.genericKubernetesResources.
  • #​3358 DSL return type replacements - NamespacedCreateOnlyResourceOperationsImpl has been replaced by NamespacedInOutCreateable, ImageSignatureOperationsImpl has been replaced by NameableCreateOrDeleteable
  • #​3364 VisitFromServerGetWatchDeleteRecreateWaitApplicable now implements Editable to replace the Visitable methods. ApplicableAnd and Recreatable have also been deprecated.
  • #​3386 KubernetesClient.customResource(CustomResourceDefinitionContext) has been deprecated. Please use the GenericKubernetesResource via KubernetesClient.genericKubernetesResource(ResourceDefinitionContext)

v5.6.0

Bugs
  • Fix #​3304: Prevent NPE in after informer stop
  • Fix #​3083: CertificateException due to PEM being decoded in CertUtils
  • Fix #​3295: Fix wrong kind getting registered in KubernetesDeserializer in SharedInformerFactory
  • Fix #​3318: Informer relist add/update should not always be sync events
  • Fix #​3328: Allow for generic watches of known types
  • Fix #​3240: MicroTime serialises incorrectly; add custom serializer/deserializer for MicroTime
  • Fix #​3329: Moved the parsing of resource(String) to the common base client
  • Fix #​3330: Added usage of the openshift specific handlers for resource(String/HasMetadata) to pickup the right Readiness
Improvements
  • Fix #​3285: adding waiting for list contexts Informable.informOnCondition
  • Fix #​3284: refined how builders are obtained / used by HasMetadataOperation
  • Fix #​3314: Add more detailed information about what is generated by the CRD generator
  • Fix #​3307: refined the support for Readiable.isReady
  • Fix #​2887: Create Docker Registry secrets
  • Fix #​3314: add detailed information on CRD generation
Dependency Upgrade
  • Fix #​3290: Update Tekton Pipeline Model to v0.25.0
New Features
  • Fix #​3291: Retrying the HTTP operation in case of IOException too
  • Fix #​2712: Add support for watching logs in multi-container Controller resources (Deployments, StatefulSets, ReplicaSet etc)
Note: Breaking changes in the API
DSL Changes:
  • #​3307 Readiable.isReady returns a boolean rather than a Boolean

v5.5.0

Bugs
  • Fix #​3064: KubernetesMockServer should not read local .kube/config while initializing client
  • Fix #​3126: a KubernetesClientException will be thrown from patch/replace rather than a null being returned when the item does not exist
  • Fix #​3121: ServiceOperationImpl replace will throw a KubernetesClientException rather than a NPE if the item doesn't exist
  • Fix #​3189: VersionInfo contains null data in OpenShift 4.6
  • Fix #​3190: Ignore fields with name "-" when using the Go to JSON schema generator
  • Fix #​3144: walking back the assumption that resource/status should be a subresource for the crud mock server, now it will be only if a registered crd indicates that it should be
  • Fix #​3194: the mock server will now infer the namespace from the path
  • Fix #​3076: the MetadataObject for CustomResource is now seen as Buildable
  • Fix #​3216: made the mock server aware of apiVersions
  • Fix #​3225: Pod metric does not have corresponding label selector variant
  • Fix #​3243: pipes provided to exec command are no longer closed on connection close, so that client can fully read the buffer after the command finishes.
  • Fix #​3272: prevent index npe after informer sees an empty list
  • Fix #​3275: filter related dsl methods withLabel, withField, etc. should not modify the current context. If you need similar behavior to the previous use Filterable.withNewFilter.
  • Fix #​3271: waitUntilReady and waitUntilCondition should handle resource too old
  • Fix #​3278: Waitable methods should not be available at a list context
Improvements
  • Fix #​3078: adding javadocs to further clarify patch, edit, replace, etc. and note the possibility of items being modified.
  • Fix #​3149: replace(item) will consult the item's resourceVersion for the first PUT attempt when not specifically locked on a resourceVersion
  • Fix #​3135: added mock crud support for patch status, and will return exceptions for unsupported patch types
  • Fix #​3072: various changes to refine how threads are handled by informers. Note that the SharedInformer.run call is now blocking when starting the informer.
  • Fix #​3143: a new SharedInformerEventListener.onException(SharedIndexInformer, Exception) method is available to determine which informer could not start.
  • Fix #​3170: made HttpClientUtils.createHttpClient(Config, Consumer<OkHttpClient.Builder>) public to allow overriding custom http client properties
  • Fix #​3202: make pod upload connection and request timeouts configurable
  • Fix #​3185: Introduce GenericKubernetesResource, used as delegate in RawCustomResourceOperationsImpl
  • Fix #​3001: WatchConnectionManager logs that provide little information are now logged at a lower level
  • Fix #​3186: WebSockets and HTTP connections are closed as soon as possible for Watches.
  • Fix #​2937: Add SharedInformerFactory#getExistingSharedIndexInformers method to return list of registered informers
  • Fix #​3239: Add the Informable interface for context specific dsl methods to create SharedIndexInformers.
  • Fix #​3101: making isWatching a health check for the informer
Dependency Upgrade
  • Fix #​2741: Update Knative Model to v0.23.0
New Features
  • Fix #​3133: Add DSL Support for authorization.openshift.io/v1 resources in OpenShiftClient
  • Fix #​3166: Add DSL Support for machineconfiguration.openshift.io/v1 resources in OpenShiftClient
  • Fix #​3142: Add DSL support for missing resources in operator.openshift.io and monitoring.coreos.com apiGroups
  • Fix #​2565: Add support for CertManager extension
  • Fix #​3150: Add DSL support for missing resources in template.openshift.io, helm.openshift.io, network.openshift.io, user.openshift.io apigroups
  • Fix #​3087: Support HTTP operation retry with exponential backoff (for status code >= 500)
  • Fix #​3193:Add DSL support for autoscaling.openshift.io resources in OpenShiftClient
  • Fix #​3209: Add DSL support for PodSecurityPolicySubjectReview, PodSecurityPolicyReview, PodSecurityPolicySelfSubjectReview in security.openshift.io/v1 apiGroup to OpenShiftClient
  • Fix #​3207: Add DSL support for OperatorCondition, Operator, PackageManifest in operators.coreos.com apiGroup to OpenShiftClient
  • Fix #​3201: Add support for tuned.openshift.io apiGroup in OpenShiftClient DSL
  • Fix #​3205: Add DSL support for ConsolePlugin and ConsoleQuickStart in console.openshift.io apiGroup
  • Fix #​3222: Add DSL support for user.openshift.io/v1 Identity in OpenShiftClient DSL
  • Fix #​3222: Add DSL support for OpenShift Whereabouts CNI Model whereabouts.cni.cncf.io to OpenShiftClient DSL
  • Fix #​3224: Add DSL support for OpenShift Kube Storage Version Migrator resources in OpenShiftClient DSL
  • Fix #​3228: Add support for Dynamic informers for custom resources in KubernetesClient
  • Fix #​3270: Add DSL support for ClusterInterceptors to TektonClient
Note: Breaking changes in the API
DSL Changes:
  • #​3127 StatusUpdatable.updateStatus deprecated, please use patchStatus, editStatus, or replaceStatus
  • #​3239 deprecated methods on SharedInformerFactory directly dealing with the OperationContext, withName, and withNamespace - the Informable interface should be used instead.
  • #​3271 Waitable.waitUntilReady and Waitable.waitUntilCondition with throw a KubernetesClientTimeoutException instead of an IllegalArgumentException on timeout. The methods will also no longer throw an interrupted exception.
    Waitable.withWaitRetryBackoff and the associated constants are now deprecated.
Util Changes:
  • #​3197 Utils.waitUntilReady now accepts a Future, rather than a BlockingQueue
  • #​3169 Utils.shutdownExecutorService removed in favor of direct usage of shutdownNow where appropriate.
    The stream pumper related classes were also simplified to utility methods on InputStreamPumper.

v5.4.1

Bugs
  • Fix #​3181: Properly handling of JsonProperty when generating CRDs
  • Fix #​3172: Use File.toURI() to create the generated CRD URI
  • Fix #​3152: Retry only Non-Restful Create-only resources in OpenShiftOAuthInterceptor
  • Fix #​3189: VersionInfo contains null data in OpenShift 4.6

v5.4.0

Bugs
  • Fix #​3040: Consistently order printer columns by JSON path to prevent undue changes in generated CRDs
  • Fix #​3041: Properly output additionalProperties field for Maps, output warning for unsupported complex maps
  • Fix #​3036: Fix file descriptor leak when loading cacerts file
  • Fix #​3038: Upgrade TLS versions in mock servers to 1.2.
  • Fix #​3037: Account for JsonProperty annotations when computing properties' name
  • Fix #​3014: Resync Future is canceled and resync executor is shutdown on informer stop
  • Fix #​2529: SelfSubjectAccessReview not working with OpenShiftClient
  • Fix #​2978: Fix SharedInformer NPE on initial requests while syncing
  • Fix #​2989: serialization will generate valid yaml when using subtypes
  • Fix #​2991: reduced the level of ReflectWatcher event received log
  • Fix #​2992: allowing Watch auto-reconnect for shared informers
  • Fix #​2994: updating the SharedIndexInformer indexer state for a delete event generated by resync
  • Fix #​2996: Generating CRDs from the API should now properly work
  • Fix #​3000: Set no_proxy in the okhttp builder in case the proxy_url is null
  • Fix #​3011: properly handle enum types for additional printer columns
  • Fix #​3020: annotations should now properly have their associated values when processing CRDs from the API
  • Fix #​3016: Use scheduleWithFixedDelay for resync task execution
  • Fix #​2991: reduced the level of ReflectWatcher event received log
  • Fix #​3027: fix NPE when sorting events in KubernetesResourceUtil
  • Fix #​3054: missing entry for Trigger in TektonTriggersResourceMappingProvider
  • Fix #​3047: NPE when getting version when there is no build date
  • Fix #​3024: stopAllRegisteredInformers will not call startWatcher
  • Fix #​3067: Added a patch(PatchContext, item) operation to be more explicit about patching and diffing behavior
  • Fix #​3097: refresh token with autoconfigure even if authprovider is null
Improvements
  • Fix #​2788: Support FIPS mode in kubernetes-client with BouncyCastleFipsProvider
  • Fix #​2910: Move crd-generator tests from kubernetes-itests to kubernetes-tests
  • Fix #​3005: Make it possible to select which CRD version is generated / improve output
  • Fix #​3015: Thread interruption in a nominal case (like closing the client) are now logged in debug
  • Fix #​3057: Removed debug calls for CustomResource during deserialization
  • Fix #​3050: More enforcement of the informer lifecycle
  • Fix #​3061: Removed the deltafifo from the informer logic
  • Fix #​3081: Use apiGroupName in generated package for OpenShiftClient Handler/OperationsImpl classes
  • Fix #​3089: Allowing patch/edit to infer context from the item
  • Fix #​3066: Added replaceStatus (PUT), editStatus (JSON PATCH), and patchStatus (JSON MERGE PATCH) methods to support non-locking status updates
Dependency Upgrade
  • Fix #​2979: Update Kubernetes Model to v1.21.0
  • Fix #​3099: Update Tekton Triggers Model to v0.13.0
  • Fix #​3118: Update to sundrio 0.40.1
New Features
  • Fix #​2984: Add support for flowcontrol.apiserver.k8s.io/v1beta1 FlowSchema and PriorityLevelConfiguration
  • Fix #​2980: Add DSL Support for apps/v1#ControllerRevision resource
  • Fix #​2981: Add DSL support for storage.k8s.io/v1beta1 CSIDriver, CSINode and VolumeAttachment
  • Fix #​2912: Add DSL support for storage.k8s.io/v1beta1 CSIStorageCapacity
  • Fix #​2701: Better support for patching in KuberntesClient
  • Fix #​3034: Added a SharedInformer.isRunning method
  • Fix #​3088: mock server will assume /status is a subresource, and other refinements to match kube behavior
  • Fix #​3111: Add DSL Support for config.openshift.io/v1 resources in OpenShiftClient
Note: Breaking changes in the API
DSL Changes:
  • client.batch().jobs() deprecated, suggestion to move to client.batch().v1().jobs()
  • client.batch().cronjobs() deprecated, suggestion to move to client.batch().v1().cronjobs() or client.batch().v1beta1().cronjobs()
  • client.policy().podSecurityPolicies() deprecated, suggestion to move to client.policy().v1beta1().podSecurityPolicies()
  • client.policy().podDisruptionBudget() deprecated, suggestion to move to client.policy().v1().podDisruptionBudget() or client.policy().v1beta1().podDisruptionBudget()
Model Changes:
  • Classes in io.fabric8.kubernetes.api.model.batch have been moved to io.fabric8.kubernetes.api.model.batch.v1 and io.fabric8.kubernetes.api.model.batch.v1beta1
  • Classes in io.fabric8.kubernetes.api.model.policy have been moved to io.fabric8.kubernetes.api.model.policy.v1 and io.fabric8.kubernetes.api.model.policy.v1beta1

v5.3.1

Bugs
  • Fix #​2991: reduced the level of ReflectWatcher event recieved log
  • Fix #​2992: allowing Watch auto-reconnect for shared informers
  • Fix #​2994: updating the SharedIndexInformer indexer state for a delete event generated by resync
  • Fix #​2910: Move crd-generator tests from kubernetes-itests to kubernetes-tests
  • Fix #​3005: Make it possible to select which CRD version is generated / improve output
  • Fix #​3011: properly handle enum types for additional printer columns
  • Fix #​3020: annotations should now properly have their associated values when processing CRDs from the API

v5.3.0

Bugs
  • Fix #​2620: Add support for config.openshift.io/v1 Ingress
  • Fix #​2784: Not able to deserialize ClusterServiceVersion
  • Fix #​2935: CRD generator no longer treat enum values as properties (performance)
  • Fix #​2812: SharedIndexInformer EventHandler sees double updates at resync interval
  • Fix #​2937: SharedInformerFactory#getExistingSharedIndexInformer returns null when @​Kind is configured
  • Fix #​2924: Creating a CustomResourceInfo from a class doesn't result in the expected information
  • Fix #​2967: Copy to/from pods: fixed error message; removed debug output
  • Fix #​2923: Edit a CustomResource should result in a patch
Improvements
  • Fix #​2950: RawCustomResourceOperationsImpl should also work with standard resources
  • Fix #​2938: Make it possible to manage Tekton Triggers directly
  • Fix #​2921: Kubernetes server mock will generate missing metadata fields
  • Fix #​2946: Kubernetes server mock watch will generate initial ADDED events
  • Fix #​2925: Add CustomResource.getShortNames(Class) method
Dependency Upgrade
  • Fix #​2971: Upgrade to sundrio 0.30.0
New Features
  • Fix #​2837: Add Support for events.k8s.io APIGroup DSL
  • Fix #​2854: Introduce CamelK extension

v5.2.1

Bugs
  • Fix #​2905: NullPointerException when attempting to generate non-parameterized CustomResources
  • Fix #​2900: Improve handling of complex CR hierarchies, falling back to ignoring status replicas instead of skipping CRD generation altogether

v5.2.0

Bugs
  • Fix #​2802: NullPointerException in HasMetadataOperation patch/replace when using KubernetesMockServer
  • Fix #​2828: Remove automatic instantiation of CustomResource spec and status as this feature was causing more issues than it was solving
  • Fix #​2857: Fix the log of an unexpected error from an Informer's EventHandler
  • Fix #​2853: Cannot change the type of the Service from ClusterIP to ExternalName with PATCH
  • Fix #​2855: .withPropagationPolicy and .withGracePeriod DSL methods can't be combined for Resource API deletion operations
  • Fix #​2783: OpenIDConnectionUtils#persistKubeConfigWithUpdatedToken persists access token instead of refresh token
  • Fix #​2871: Change longFileMode to LONGFILE_POSIX for creating tar in PodUpload, improve exception handling in PodUpload.
  • Fix #​2746: SharedInformerFactory should use key formed from OperationContext
  • Fix #​2736: Move CRD annotations to kubernetes-model-common module for greater coherence
  • Fix #​2836: Make CRD generation usable at runtime, split the generator into api and apt modules,
    the crd-generator-apt artifact corresponding to the previous crd-generator artifact, while the
    crd-generator-api artifact can be consumed directly to generate the CRDs at runtime.
Improvements
  • Fix #​2781: RawCustomResourceOperationsImpl#delete now returns a boolean value for deletion status
  • Fix #​2780: Refactor RawCustomResourceOperationsImpl#delete(String)
New Features
  • Fix #​2818: Update chaos-mesh extension to v1.1.1. Add PodIoChaos, JVMChaos, HTTPChaos and DNSChaos.
  • Fix #​2699: Add support for @EnableOpenShiftMockClient for OpenShiftClient
  • Fix #​2588: Support for Server side dry runs

v5.1.1

Bugs
  • Fix #​2747: Apiextensions DSL should use NonNamespaceOperation for CustomResourceDefinitions
  • Fix #​2819: simple enums are now supported when generating CRDs
  • Fix #​2827: CNFE when initializing CustomResource instances
  • Fix #​2815: client.isAdaptable(OpenShiftClient.class) doesn't work on OpenShift 4
  • Fix #​2833: Knative model generator is now aligned with all other generators

v5.1.0

Bugs
  • Fix #​2748: Pass custom headers in kubernetes-client to watch api by modify WatchConnectionManager
  • Fix #​2745: Filtering Operations can't configure PropagationPolicy
  • Fix #​2672: WaitUntilReady for Service resource throws IllegalArgumentException
Improvements
  • Fix #​2662: Allow option to containerize Go Model Schema generation builds
  • Fix #​2717: Remove edit() methods from RawCustomResourceOperationsImpl taking InputStream arguments
  • Fix #​2757: add storage and served to Version annotation
  • Fix #​2759: add ShortNames annotation to specify short names for CRD generation
  • Fix #​2694: Remove deprecated methods from KubernetesClient DSL
  • Fix #​2716: Add a property to disable BackwardCompatibilityInterceptor
Dependency Upgrade
  • Fix #​2706: update Tekton Triggers model to v0.11.1
  • Fix #​2684: Upgrade Kubernetes Model to v1.20.2
New Features
  • Fix #​2702: Add support for discovery.k8s.io/v1beta1 EndpointSlice in KubernetesClient DSL
  • Fix #​2703: Add support for certificates.k8s.io v1 and v1beta1 API in KubernetesClient DSL
  • Fix #​2708: Update CSI Volume Snapshot API to v1
  • Fix #​2789: Use thread context class loader instead of Class.forName
  • Fix #​2779: Add DSL support for scheduling.k8s.io v1 and v1beta1 to SchedulingAPIGroupDSL
  • Fix #​2776: Preview release of CRD generator based on annotations
    • Classes extending the CustomResource class can now be used as the basis for CRD generation
    • Several annotations are available to override the default behavior if it doesn't fit your needs
    • Validation schema is automatically derived from your class' spec implementation (or from the CR
      class, if no spec is present)
    • CRDs are automatically generated at compile-time if you include the io.fabric8:crd-generator
      dependency to your project (with the suggested compile scope)
    • CRDs are generated for both v1beta1 and v1 versions of the specification at this point
    • One CRD manifest is generated per CRD using the CRD name (e.g. mycrplural.group.example.com)
      suffixed with the specification version, e.g. mycrplural.group.example.com-v1.yml
    • The CRD files are generated in the target/META-INF/fabric8 directory of your project
Note: Breaking changes in the API
DSL Changes:
  • client.settings() DSL has been removed since PodPreset v1alpha1 API is no longer present in Kubernetes 1.20.x
  • client.customResourceDefinitions() has been removed. Use client.apiextensions().v1beta1().customResourceDefinitions() instead
  • client.events() has been removed. Use client.v1().events() instead
  • client.customResource(...) method is removed. Use client.customResources(...) with CustomResource configuration in annotations inside POJOs
Model Changes:
  • Classes in io.fabric8.kubernetes.api.model.scheduling have been moved to io.fabric8.kubernetes.api.model.scheduling.v1 and io.fabric8.kubernetes.api.model.scheduling.v1beta1
  • Classes in io.fabric8.kubernetes.api.model.admission have been moved to io.fabric8.kubernetes.api.model.admission.v1 and io.fabric8.kubernetes.api.model.admission.v1beta1
  • Classes in io.fabric8.kubernetes.api.model.certificates have been moved to io.fabric8.kubernetes.api.model.certificates.v1 and io.fabric8.kubernetes.api.model.certificates.v1beta1
  • Classes in io.fabric8.kubernetes.api.model.events have been moved to io.fabric8.kubernetes.api.model.events.v1 and io.fabric8.kubernetes.api.model.events.v1beta1

v5.0.2

Bugs
  • Fix #​2715: CVE-2021-20218 vulnerable to a path traversal leading to integrity and availability compromise

v5.0.1

Bugs
  • Fix #​2687: RawCustomResourceOperationsImpl ignores config
  • Fix #​2612: add support for checking latest kubeconfig in Interceptor
Improvements
  • Remove javax.annotation-api
  • Remove jaxb-api
  • Remove jackson-module-jaxb-annotations
  • Fix #​2744: Automatically instantiates spec and status fields on CustomResource when possible.
    initSpec and initStatus methods are also provided to allow for overriding of the default implementation.
Dependency Upgrade
  • Fix #​2723: Upgrade sundrio.version to 0.24.1

v5.0.0

Bugs
  • Fix #​2695: fromCustomResourceType should be of type CustomResource

v4.13.3

Bugs
  • Fix: Set no_proxy in the okhttp builder in case the proxy_url is null
  • Fix #​3027: fix NPE when sorting events in KubernetesResourceUtil

v4.13.2

Bugs
  • Fix #​2715: CVE-2021-20218 vulnerable to a path traversal leading to integrity and availability compromise

v4.13.1

Bugs
  • Fix #​2734: (Backport #​2596) Add buildable ref for container, port and volume

v4.13.0

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 of io.fabric8.tekton.pipeline.v1beta1.Step

  • NetworkPolicy moved to io.fabric8.kubernetes.api.model.networking.v1.NetworkPolicy from
    io.fabric8.kubernetes.api.model.networking.NetworkPolicy

  • Fix #​2557: add missing OpenShiftReadiness.isReadinessApplicable

v4.12.0

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:

  • PR #​2424 (#​2414) slightly changes the API by adding the new WatchAndWaitable "combiner" interface.
    Most projects shouldn't require any additional changes.

v4.11.2

Bugs
  • Fix #​2715: CVE-2021-20218 vulnerable to a path traversal leading to integrity and availability compromise

v4.11.1

Bugs
  • Fix #​2445: ConfigMap and other resources are replaced

v4.11.0

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
  • Fix #​2414: Allow withResourceVersion() to be followed by waitUntilCondition(), enabling recovery from HTTP 410 GONE errors.
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 and io.fabric8.kubernetes.api.model.apiextensions.v1beta1
  • SubjectAccessReview, SelfSubjectAccessReview, LocalSubjectAccessReview and SelfSubjectRulesReview have been moved to io.fabric8.kubernetes.api.model.authorization.v1 and io.fabric8.kubernetes.api.model.authorization.v1beta1
  • io.fabric8.tekton.pipeline.v1beta1.WorkspacePipelineDeclaration is now io.fabric8.tekton.pipeline.v1beta1.PipelineWorkspaceDeclaration

v4.10.3

Bugs
  • Fix #​2285: Raw CustomResource API createOrReplace does not propagate exceptions from create
  • Fix Raw CustomResource API path generation to not having trailing slash
  • Fix #​2131: Failing to parse CustomResourceDefinition with OpenAPIV3Schema using JSONSchemaPropOr* fields
  • Fix #​2297: Resuscitate ProjectRequestHandler in openshift-client
  • Fix #​2328: Failure in deserialization while watching events
  • Fix #​2299: Improve error handling of RejectedExecutionException from ExecutorService
  • Fix KubernetesAttributesExctractor to extract metadata from unregistered custom resources, such when using Raw CustomResource API
  • Fix #​2296: No adapter available for type:interface io.fabric8.kubernetes.client.dsl.V1APIGroupDSL
  • Fix #​2269: Setting a grace period when deleting resource using withPropagationPolicy()
  • Fix #​2342: watchLogs for deployment is broken
  • Fix #​2309: Move HasMetadataComparator to exported package
Improvements
  • Fix #​2233: client.service().getUrl(..) should be able to fetch URL for ClusterIP based services
  • Fix #​2278: Added type parameters for KubernetesList in KubernetesClient + test verifying waitUntilCondition always retrieves resource from server
  • Fix #​2336: Test and fix for the wrong "Kind" declared on KubernetesListHandle
  • Fix #​2320: Added JUnit5 extension for mocking KubernetesClient in tests using @​EnableKubernetesMockClient
  • Fix #​2332: Added PodExecOptions model
  • Improve error handling on stream closing errors in S2I binary builds(#​2032)
  • Fix #​2288: Adds configurable serializers and deserializers to json schema codegen
Dependency Upgrade
  • Fix #​2333: bump bouncycastle.version from 1.65 to 1.66
  • Fix #​2262: bump maven-shade-plugin from 3.2.3 to 3.2.4
  • Fix #​2261: bump exec-maven-plugin from 1.6.0 to 3.0.0
  • Fix #​2345: bump mockito-core from 3.3.3 to 3.4.0
  • Fix #​2260: bump tektoncd pipeline to v0.12.1
New Features
  • Fix #​1868: Add Support for rolling update
  • Fix #​2266: Support for APIServices in Kubernetes Client
  • Fix #​2215: io.fabric8.kubernetes.client.Config should expose all and the current context defined in kubeconfig

v4.10.2

Bugs

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/major-kubernetesclientversion branch 7 times, most recently from 264a113 to d18ca9e Compare September 28, 2021 22:24
@renovate renovate bot force-pushed the renovate/major-kubernetesclientversion branch 3 times, most recently from 2583784 to 0446f8e Compare October 7, 2021 06:50
@wlodarcp wlodarcp force-pushed the renovate/major-kubernetesclientversion branch from 0446f8e to 0caf3fd Compare October 7, 2021 19:23
@coveralls
Copy link

coveralls commented Oct 7, 2021

Pull Request Test Coverage Report for Build #697

  • 7 of 7 (100.0%) changed or added relevant lines in 4 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 97.605%

Totals Coverage Status
Change from base Build #689: 0.0%
Covered Lines: 652
Relevant Lines: 668

💛 - Coveralls

@wlodarcp wlodarcp force-pushed the renovate/major-kubernetesclientversion branch 2 times, most recently from ed75f20 to 2d1f846 Compare October 7, 2021 19:32
@wlodarcp wlodarcp force-pushed the renovate/major-kubernetesclientversion branch from 2d1f846 to e2e9620 Compare October 7, 2021 19:37
@wlodarcp wlodarcp merged commit ae9759c into master Oct 7, 2021
@renovate renovate bot deleted the renovate/major-kubernetesclientversion branch October 7, 2021 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants