Skip to content

build: update the Kubernetes client #164

Closed

Description

@uniqueg

Why

io.kubernetes:client-java 11.0.4 is from 2021 and needs SnakeYAML 1.x,
which has CVE-2022-1471 (accepted in .trivyignore.yaml until 2027-01-31).
Current versions need Java 11 and use SnakeYAML 2; Spring Boot 3.5 and 4
need SnakeYAML 2 as well.

How

  • Update client-java to the current release; move the calls in
    KubernetesClientWrapper, KubernetesObjectsSupplier and the tests to
    its request-builder API (api.listNamespacedJob(ns).labelSelector(...) .execute()).
  • Drop the snakeyaml pin (1.33) and its Trivy entry (CVE-2022-1471);
    re-check the transitive pins (protobuf-java, bcprov/bcpkix,
    jose4j, commons-*) against the new client.
  • Remove the Dependabot hold for io.kubernetes:client-java.
  • Integration tests (WireMock stubs of the Kubernetes API) adjusted where the
    request paths or parameters change; deployment docs (supported Kubernetes
    versions of the client).

Acceptance criteria

  • No SnakeYAML 1.x in the image; the scan passes without the SnakeYAML entry.
  • Unit and integration tests pass; a task runs end to end on a local cluster
    (kind or k3d) with the image.

Part of #66.

Activity

  1. added
    priority: medium
    status: blocked
    type: maintenance
    workload: days
    on Nov 13, 2026
  2. added
    status: triage
    status: in progress
    and removed
    status: blocked
    status: triage
    on Nov 13, 2026
  3. self-assigned this
    on Nov 14, 2026
  4. moved this from Backlog to In progress in ELIXIR On-Cloudon Nov 14, 2026
  5. moved this from In progress to In review in ELIXIR On-Cloudon Nov 14, 2026
  6. moved this from In review to Done in ELIXIR On-Cloudon Nov 14, 2026
  7. removed
    status: in progress
    on Nov 14, 2026
  8. added this to the v2.0.0 milestone on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: mediumtype: maintenanceworkload: days

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions