Conversation
Signed-off-by: Danielle Mustillo <danielle.mustillo@solo.io>
Puts skills-init on the same base as the app, golang-adk and ui images, so one rebuild picks up OS package fixes for all of them. Drops the redundant apk upgrade and ca-certificates (wolfi-base:latest is rebuilt daily and ships ca-certificates-bundle), and adds openssh-keyscan, which Wolfi packages separately from openssh-client. Signed-off-by: Danielle Mustillo <danielle.mustillo@solo.io>
eb907ef to
6e635cf
Compare
The rolling upgrade test installs the previous release with 2 controller
replicas, but upgrades with `make helm-install-provider`, which sets no
replica count. The chart then falls back to 1 replica. On release/v0.10.x
that also turns leader election off and deletes the leader-election Role.
The old leader still has leader election on, so it is denied its Lease,
fails to renew within the deadline, and exits ("leader election lost").
The scale-down to 1 has already removed the other old pod. When the new
pod gets Ready before the crashed old pod comes back, no old pod is Ready
after the migration and the poll times out after 6 minutes with
"target schema was not observed while old controller pods were still
ready".
Pass --set controller.replicas=2 to the upgrade, as an operator doing a
rolling upgrade would. The Role stays, no old pod exits, and the rollout
keeps both old pods until the new one is Ready.
Signed-off-by: Danielle Mustillo <danielle.mustillo@solo.io>
Signed-off-by: Danielle Mustillo <danielle.mustillo@solo.io>
This comment was marked as outdated.
This comment was marked as outdated.
iplay88keys
left a comment
There was a problem hiding this comment.
🤖 AI-generated review. I reviewed the findings before posting.
The image changes look good. I checked wolfi-base with git, openssh-client and openssh-keyscan as UID 1001. The CA bundle is present, an HTTPS clone works, and ssh-keyscan works. I also confirmed that the chart removes the leader-election Role at 1 replica, as the new comment says.
One question about the Scope section: a helm upgrade from 2 replicas to 1 restarts the old controller. Is there an issue on main to track this chart behavior?
|
|
||
| ### Stage 1: runtime | ||
| FROM alpine:3.24 | ||
| FROM $BASE_IMAGE_REGISTRY/chainguard/wolfi-base:latest |
There was a problem hiding this comment.
Optional follow-up, not a regression: the build-skills-init target in the Makefile does not pass $(TOOLS_IMAGE_BUILD_ARGS). So a BASE_IMAGE_REGISTRY override does not reach this FROM or the builder stage. The other image targets pass these build args. The old alpine runtime stage also ignored the override, so nothing breaks today.
There was a problem hiding this comment.
unless you feel strongly about this one, I might opt out of this one to keep the surface area of risk for this PR lower. But if you want it I can do it.
|
Thanks for the review, for the scope question, I didn't create one since, to me
|
….10.x (#3779) Fixes CVEs in the `app`, `app-full` and `tools` images on `release/v0.10.x`. ## What changed - `python/uv.lock`: `mcp` (Python SDK) 1.28.1 -> 1.30.0, for CVE-2026-115563 (the OAuth client could send credentials to an authorization server chosen by the MCP server). `kagent-adk` already allows it (`mcp>=1.25.0`). `python/Dockerfile` and `python/Dockerfile.full` install with `uv sync --frozen`, so both images pick it up. - `helm/kagent/Chart-template.yaml`: `kagent-tools` chart 0.3.1 -> 0.3.2. kagent-tools 0.3.2 bundles helm 4.3.2 and cilium-cli 0.20.3 (kagent-dev/tools#118), which fix CVE-2026-111943, CVE-2026-116587 and CVE-2026-116591 in the `tools` image. ## Verification - `uv lock --upgrade-package mcp` changes only the `mcp` entry. - `pytest packages/kagent-adk packages/kagent-core`: 519 passed. The 9 failures are TLS e2e tests in `test_tls_e2e.py`; the same 9 fail on `release/v0.10.x` without this change. - `make helm-test` pulls kagent-tools 0.3.2; 313 chart tests pass. The chart renders `ghcr.io/kagent-dev/kagent/tools:0.3.2`. - The released `tools:0.3.2` image has helm 4.3.2 (go1.27.4), cilium-cli 0.20.3 (go1.27.3), and istioctl with go-jose 4.1.7 and klauspost/compress 1.20.3. ## Release note ```release-note Updated `mcp` to 1.30.0 and `kagent-tools` to 0.3.2 to fix CVE-2026-115563, CVE-2026-111943, CVE-2026-116587 and CVE-2026-116591. A `RemoteMCPServer` whose URL redirects to another host or port now fails to connect; set its URL to the redirect target. ``` /kind fix Follow-up to #3738. --------- Signed-off-by: Danielle Mustillo <danielle.mustillo@solo.io>
Why
The v0.10.6 runtime images ship HIGH and CRITICAL CVEs. Most are fixed by rebuilding on
wolfi-base:latest. Two image changes fix the rest. The PR also fixes the flaky rolling upgrade test so CI on this branch can go green.What changed
python/Dockerfile.fullinstalls npm 11.21.3, which bundles a fixed undici forapp-full.skills-initmoves fromalpine:3.24towolfi-base:latest, the base the other images already use. It addsopenssh-keyscanfor SSH git skills.--set controller.replicas=2to its upgrade.Scope
--reuse-values) still sees the old controller restart once. The kagent UI and API can then be unavailable for up to about 30 seconds before they recover on their own, with no data lost.zod(app-full,golang-adk-full) needs no fix, because it is not a real vulnerability. CVE.org rejected it on 2026-10-28: the extra memory use is expected validator behavior. grype still reports it, because the GitHub advisory GHSA-mrhx-c7xc-m3w5 is not withdrawn yet.acp-sandbox-*images keep their Debian base, because on 0.x only the Substrate backend uses them.Blast Radius
skills-initgrows from 64.7 MB to 128 MB, because git on Wolfi pulls in more libraries. Each node pulls the larger image once.Verification
skills-init. All three skills load.Appendix: CVEs fixed
app-fullapp-fullapp,app-full,golang-adk-full,uiapp-full,golang-adk-fulluiskills-initskills-init