redhat-developer / intellij-tekton

IntelliJ Tekton plugin
https://plugins.jetbrains.com/plugin/14096-tekton-pipelines-by-red-hat
Eclipse Public License 2.0
20 stars 11 forks source link

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

Open adietish opened 3 months ago

adietish commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

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!