Repository navigation
[release-1.35] Backports for 2026-11 - #15067
Merged
brandond merged 18 commits intoNov 25, 2026
Merged
Conversation
Signed-off-by: daimond113 <contact@daimond113.com> (cherry picked from commit 6999233) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
tcpproxy only calls Close() if the connection can be unwrapped to `*net.TCPConn`, for others implementations of `net.Conn` it calls `CloseWrite/CloseRead` if present. Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 56959d5) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
The image import cache stores each file's mtime as a metav1.Time, which is serialized with second precision. Since k3s-io#14288 the cached mtime is compared with the file's full-precision mtime on its own, so any file with a sub-second mtime looks newer than its cache entry and is re-imported on every start. Truncate the file's mtime to seconds before comparing. Fixes k3s-io#14911 Signed-off-by: Adam Gelwarg <adam@gelwarg.net> (cherry picked from commit 36f32b2) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
any change in mtime (not just newer). Signed-off-by: Adam Gelwarg <adam@gelwarg.net> (cherry picked from commit c4e4476) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Signed-off-by: Brad Davidson <brad@oatmail.org> (cherry picked from commit 003b699) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Signed-off-by: Brad Davidson <brad@oatmail.org> (cherry picked from commit 0cfab82) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
NewTemporaryStore leaves its database copy behind when copying or opening fails. No store reaches the caller, so Close cannot remove it. Remove the temporary directory on both error paths. Check in the existing table that no copy remains after each expected error. Signed-off-by: spicysharkco <321699413+spicysharkco@users.noreply.github.com> (cherry picked from commit 70f8998) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Fixes issue where pause image was not pinned because it did not match the normalized name that ends up getting pulled. Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit b5ca5b2) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Adds flannel env var pass through from server using same path as flannel-backend, so that agents use the same VNI and Port as the server. Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit e108a0d) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit f5cba99) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 3ddfb9f) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 51d3b70) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Signed-off-by: Michael Moll <kvedulv@kvedulv.de> (cherry picked from commit c55a7df) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
ArgValue split each arg on the first '=' but always read splitArg[1], which panics with an index out of range when a matching flag is passed without a value (for example --kube-apiserver-arg=feature-gates). Guard the index the same way GetArgs already does and return an empty value in that case. Signed-off-by: Amal Saidov <amalsaidov@users.noreply.github.com> Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit f84cba4) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
reconcile trimmed the trailing timestamp from local snapshot keys with strings.TrimRight(s, "-012345678"). The cutset has no 9, so trimming stops at the first 9 in the timestamp and the node name no longer matches; the entry is then deleted as belonging to a missing node. The cutset also eats trailing digits of node names such as server-1. Cut at the last dash instead, which removes exactly the timestamp. Signed-off-by: farisbasha <farisbashatm@gmail.com> (cherry picked from commit 80bc451) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit a4ec24e) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Ref: https://github.com/k3s-io/kine/releases/tag/v0.17.6 Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 638c302) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
pruneCache drops every entry not yet seen since the start. importAndWatchImages calls it once the workqueue is empty, which is also the case while the worker is still processing the last item, so that item's entry was dropped and it was imported again at the next start. The worker now holds a read lock on filesCache while it processes an item, and pruneCache takes the write lock, so the prune waits for the item in flight. Signed-off-by: Anders Ingemann <anders@ingemann.de> (cherry picked from commit 9b575d9) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## release-1.35 #15067 +/- ##
================================================
- Coverage 52.11% 51.83% -0.29%
================================================
Files 197 200 +3
Lines 16017 16106 +89
================================================
+ Hits 8347 8348 +1
- Misses 6357 6437 +80
- Partials 1313 1321 +8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
cwayne18
approved these changes
Nov 25, 2026
dereknola
approved these changes
Nov 25, 2026
vitorsavian
approved these changes
Nov 25, 2026
3 of 6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed Changes
Backports:
Types of Changes
Backports
Verification
See linked issues
Testing
Linked Issues
User-Facing Change
Further Comments