You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Activity