intellij-tekton icon indicating copy to clipboard operation
intellij-tekton copied to clipboard

bump kuberntes-client to latest kubernetes-client (likely 6.11.0)

Open adietish opened this issue 11 months ago • 2 comments

we need to keep track of the evolution of the kubernetes-client and get from 6.4.0 to 6.10+ https://github.com/redhat-developer/intellij-kubernetes/issues/726 very likely requires a bump to the latest, fixed, kubernetes-client.

adietish avatar Mar 22 '24 09:03 adietish

Using the new kubernetes-client (tekton-client to be precise) wont work without additional work. Conditions dont exist in 6.10.0 any more.

image

The reasoning seems to be that Conditions were deprecated: https://github.com/tektoncd/pipeline/blob/v0.16.3/docs/pipelines.md#guard-task-execution-using-conditions

Conditions are deprecated, use WhenExpressions instead.

To me it looks like we need to add support for the new API, we can't simply drop the old one.

If we dont bump to the new client we'd break it once we release intellij-kubernetes, intellij-openshift, intellij-knative, intellij-common with the new client. Users could not install those in parallel. A user could use intellij-tekton alone though.

adietish avatar Mar 22 '24 10:03 adietish

We're decided not to do the work to have the client bumped given the effort required. We lack the required time to resolve it. Contributions highly welcome!

adietish avatar Mar 22 '24 10:03 adietish