Repository navigation
build(deps): upgrade Go and Kubernetes dependencies - #794
Conversation
|
🔍 OpenCodeReview found 2 issue(s) in this PR.
📄
|
|
Review round 1 — triage of the OpenCodeReview summary finding The review run on this head emitted one low-severity reminder (routed to the summary, no inline thread), covering
No other findings were emitted: zero top-level reviews, zero inline threads, and no suppressed findings in this run's output. |
|
Review round 1 — image build failure triaged and repaired Both
(the trailing Root cause. Both sites intentionally skip TLS verification against self-signed same-trust-domain peers and carried a trailing Fix. The annotation moves back onto the Verification. Full This, together with the earlier comment on the webhook-regeneration reminder (no change required), covers every finding emitted on this PR so far: one review-run reminder and the two CI gosec findings. No inline threads exist to resolve. |
Signed-off-by: thxCode <thxcode0824@gmail.com>
The golangci-lint v2.15.0 formatters split the single line holding the tls.Config literal and its trailing nolint annotation into two, leaving the annotation on the closing call line where it no longer suppresses G402 at the literal. The split landed after linter analysis within the same --fix run, so the preparing gate stayed green while the image build's fresh analysis failed. Move the annotation onto the literal's own line at both sites, matching the existing convention elsewhere in the tree. Signed-off-by: thxCode <thxcode0824@gmail.com>
Signed-off-by: thxCode <thxcode0824@gmail.com>
2fe9994 to
2bc1372
Compare
|
Review round 2 — response to the two
|
The Go dependency and the vendored chart must not be mixed: the SDK is pinned to v0.18.11 and the bundled Kueue chart, controller image and subchart version move to 0.18.11 with it. Downgrading the SDK from v0.19.10 brings back the workload helpers in the single pkg/workload package; the v0.19 split into pkg/workload/evict, pkg/workload/finish and pkg/workload/patching has no counterpart in v0.18.11, so the three call sites go back to the package-level helpers. The generated clients move with it: the v1beta2 fields are identical in both versions, so only the doc comments carried from the upstream types change. Upstream 0.18.11 adds a ServiceMonitor template whose tlsConfig branch reads the subchart's own enableCertManager. The cert-manager patch routes every such site through the release-wide helper, so the new template joins the patch; otherwise the ServiceMonitor would skip verification of a cert-manager-issued metrics certificate whenever the release enables cert-manager. Signed-off-by: thxCode <thxcode0824@gmail.com>
2bc1372 to
a617ddf
Compare
What type of PR is this?
/kind enhancement
/area integrations
/area worker
/area testing
What this PR does / why we need it:
Moves the operator build and dependency graph to Go 1.27.3 and Kubernetes v0.36.5, with controller-runtime v0.24.1, Helm SDK v3.21.4, and Kueue SDK and bundled subchart/controller image aligned at v0.18.11. The staged Kubernetes sources retain all three existing patches, and the API/client outputs and chart documentation/schema are regenerated with the target compiler and toolbox.
The compatibility changes cover the Kueue v1beta2 GroupVersion identifier updates, CRI streaming module split, obsolete protobuf marker cleanup, and toolchain-compatible lint/protobuf tooling. Multipart form parsing now has a 32 MiB total-body limit while urlencoded forms keep the standard library limit. The bundled Kueue subchart is bumped to 0.18.11 (
docker.io/gpustack/mirrored-kueue:v0.18.11) withcert-manager.patchrecaptured to cover the upstreamtemplates/prometheus/monitor.yamladdition. The linter upgrade also applies mechanical Go formatting across the tree.Which issue(s) this PR links to:
Relates #792
Relates #793
Special notes for your reviewer:
go.mod(sigs.k8s.io/kueue) and the bundled Kueue subchart/controller image are pinned tov0.18.11.Does this PR introduce a user-facing change?