Skip to content

Feature/14562 etcd snapshot restrictions - #14678

Merged
brandond merged 8 commits into
k3s-io:mainfrom
sRiSh-JaNa-tech:feature/14562-etcd-snapshot-restrictions
Oct 7, 2026
Merged

brandond merged 8 commits into
k3s-io:mainfrom
sRiSh-JaNa-tech:feature/14562-etcd-snapshot-restrictions

Conversation

@sRiSh-JaNa-tech

Copy link
Copy Markdown
Contributor

Proposed Changes

I implemented --etcd-snapshot-restrictions based on the requirements and feedback discussed in #14562.

The implementation follows the maintainer's "Ignore & Warn" approach. Restricted snapshot destination overrides are ignored, the server-configured values are used instead, and a warning is returned to the CLI on stderr.

Restrictions can be applied to snapshot-dir, s3-endpoint, s3-bucket, s3-folder, s3-proxy, or all of them with all.

I also kept the existing delete <snapshot-name> behavior and added protection against directory traversal during local snapshot deletion.

Types of Changes

New Feature

Verification

I added unit and integration tests covering restriction handling, config.yaml vs explicit CLI flags, warning propagation, all restrictions, and snapshot deletion path safety.

The relevant Go and etcd snapshot integration tests were run locally.

Linked Issues

Fixes #14562

User-Facing Change

Added `--etcd-snapshot-restrictions` to restrict snapshot destination overrides. Restricted values are ignored in favor of the server-configured values, with a warning returned to the client.

Further Comments

This implementation follows the maintainer feedback discussed in #14562. AI tooling was used during development to assist with implementation and test design.

sRiSh-JaNa-tech added 3 commits September 19, 2026 16:43
Signed-off-by: sRiSh-JaNa-tech <srishjanagithub@gmail.com>
Signed-off-by: sRiSh-JaNa-tech <srishjanagithub@gmail.com>
Signed-off-by: sRiSh-JaNa-tech <srishjanagithub@gmail.com>
@sRiSh-JaNa-tech
sRiSh-JaNa-tech requested a review from a team as a code owner September 19, 2026 17:16
Comment thread pkg/cli/server/server.go Resolved
Comment thread pkg/configfilearg/parser.go Resolved
Comment thread pkg/cli/server/server.go Resolved
Comment thread pkg/etcd/snapshot_handler.go Resolved
Comment thread pkg/etcd/snapshot_handler.go Resolved
sRiSh-JaNa-tech and others added 2 commits September 20, 2026 09:56
Co-authored-by: Brad Davidson <brad@oatmail.org>
Signed-off-by: SRISH_JANA_ <srishjana@gmail.com>
- Use sets.Set from k8s.io/apimachinery/pkg/util/sets for restriction lookups and flag checks
- Revert restricted snapshot fields to server-configured values instead of clearing
- Simplify withRequest S3 config handling and prevent field override bugs
- Add path traversal protection in handleDelete for local snapshot deletion
- Add comprehensive unit tests and align integration test assertions

Signed-off-by: sRiSh-JaNa-tech <srishjanagithub@gmail.com>
@sRiSh-JaNa-tech

Copy link
Copy Markdown
Contributor Author

The new changes are now:

  • Switched restriction lookups and IsFlagSet to use sets.Set instead of manual loops.
  • Updated applySnapshotRestrictions to restore the server-configured S3 values for restricted options.
  • Simplified withRequest so request fields can be properly cleared or unset, while keeping restriction handling separate.
  • Improved the handleDelete path traversal check using filepath.Clean, including checks for .. and absolute paths.
  • Added unit tests for S3 configuration, path traversal, and different restriction combinations, and updated the integration test assertions.

All unit tests (-run Unit) and go vet are passing cleanly.

… configs

Signed-off-by: sRiSh-JaNa-tech <srishjanagithub@gmail.com>
@codecov

codecov Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 83.51648% with 15 lines in your changes missing coverage. Please review.
✅ Project coverage is 52.00%. Comparing base (526a9f2) to head (4732dc1).
⚠️ Report is 20 commits behind head on main.

Files with missing lines Patch % Lines
pkg/cli/server/server.go 55.00% 6 Missing and 3 partials ⚠️
pkg/etcd/snapshot_handler.go 91.17% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #14678      +/-   ##
==========================================
+ Coverage   51.55%   52.00%   +0.45%     
==========================================
  Files         197      197              
  Lines       15817    16005     +188     
==========================================
+ Hits         8155     8324     +169     
- Misses       6369     6371       +2     
- Partials     1293     1310      +17     
Flag Coverage Δ
e2etests 41.01% <15.38%> (-0.39%) ⬇️
inttests 39.50% <15.38%> (+0.47%) ⬆️
unittests 27.19% <71.42%> (+1.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@brandond

Copy link
Copy Markdown
Member

@sRiSh-JaNa-tech basic code style tests (go fmt) are failing. Are you still working on this?

@sRiSh-JaNa-tech

Copy link
Copy Markdown
Contributor Author

@sRiSh-JaNa-tech basic code style tests (go fmt) are failing. Are you still working on this?

Yes I am still working on this i have noticed the problems and checking it why it is failing with my changes in the code.

@brandond

brandond commented Oct 1, 2026

Copy link
Copy Markdown
Member

Ok. If you need to stop work on this please just let us know, and we can get it across the line.

@sRiSh-JaNa-tech
sRiSh-JaNa-tech force-pushed the feature/14562-etcd-snapshot-restrictions branch from 872eadf to 5598886 Compare October 2, 2026 06:44
sRiSh-JaNa-tech added 2 commits October 2, 2026 11:11
…cycle

Signed-off-by: sRiSh-JaNa-tech <srishjanagithub@gmail.com>
…verage

- Dynamically enforce snapshot restrictions based on configured overrides
- Drop unauthorized S3 configuration and pin restricted fields to server values
- Add warnings for ignored overrides using k8s warning headers
- Strengthen path traversal validation on snapshot deletion
- Update unit and integration tests to verify dynamic restriction behavior

Signed-off-by: sRiSh-JaNa-tech <srishjanagithub@gmail.com>
@dereknola

Copy link
Copy Markdown
Member

The E2E test failures are unrelated to this PR. The fix is incorporated into #14603

@manuelbuil manuelbuil left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should not forget about documentation in the docs. It was confusing to me at the beginning as we don't have any other flag doing something like this

@brandond
brandond merged commit d8a1b5a into k3s-io:main Oct 7, 2026
158 of 196 checks passed
brandond added a commit to brandond/k3s that referenced this pull request Oct 16, 2026
* Implement etcd-snapshot-restrictions for issue 14562
* Add integration tests for etcd snapshot restrictions
* Fix unit test naming to match github actions CI regex
* Apply batched suggestions from code review
* Address code review feedback on etcd snapshot restrictions
* Use sets.Set from k8s.io/apimachinery/pkg/util/sets for restriction lookups and flag checks
* Revert restricted snapshot fields to server-configured values instead of clearing
* Simplify withRequest S3 config handling and prevent field override bugs
* Add path traversal protection in handleDelete for local snapshot deletion
* Add comprehensive unit tests and align integration test assertions
* Fix etcd snapshot local fallback, path traversal edge cases, and test configs
* Fix gofmt, use k8s warning helpers, and isolate integration test lifecycle
* Make etcd snapshot restriction enforcement dynamic and expand test coverage
* Dynamically enforce snapshot restrictions based on configured overrides
* Drop unauthorized S3 configuration and pin restricted fields to server values
* Add warnings for ignored overrides using k8s warning headers
* Strengthen path traversal validation on snapshot deletion
* Update unit and integration tests to verify dynamic restriction behavior

Co-authored-by: Brad Davidson <brad@oatmail.org>
Signed-off-by: SRISH_JANA_ <srishjana@gmail.com>
(cherry picked from commit d8a1b5a)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
brandond added a commit to brandond/k3s that referenced this pull request Oct 16, 2026
* Implement etcd-snapshot-restrictions for issue 14562
* Add integration tests for etcd snapshot restrictions
* Fix unit test naming to match github actions CI regex
* Apply batched suggestions from code review
* Address code review feedback on etcd snapshot restrictions
* Use sets.Set from k8s.io/apimachinery/pkg/util/sets for restriction lookups and flag checks
* Revert restricted snapshot fields to server-configured values instead of clearing
* Simplify withRequest S3 config handling and prevent field override bugs
* Add path traversal protection in handleDelete for local snapshot deletion
* Add comprehensive unit tests and align integration test assertions
* Fix etcd snapshot local fallback, path traversal edge cases, and test configs
* Fix gofmt, use k8s warning helpers, and isolate integration test lifecycle
* Make etcd snapshot restriction enforcement dynamic and expand test coverage
* Dynamically enforce snapshot restrictions based on configured overrides
* Drop unauthorized S3 configuration and pin restricted fields to server values
* Add warnings for ignored overrides using k8s warning headers
* Strengthen path traversal validation on snapshot deletion
* Update unit and integration tests to verify dynamic restriction behavior

Co-authored-by: Brad Davidson <brad@oatmail.org>
Signed-off-by: SRISH_JANA_ <srishjana@gmail.com>
(cherry picked from commit d8a1b5a)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
brandond added a commit that referenced this pull request Oct 16, 2026
* Implement etcd-snapshot-restrictions for issue 14562
* Add integration tests for etcd snapshot restrictions
* Fix unit test naming to match github actions CI regex
* Apply batched suggestions from code review
* Address code review feedback on etcd snapshot restrictions
* Use sets.Set from k8s.io/apimachinery/pkg/util/sets for restriction lookups and flag checks
* Revert restricted snapshot fields to server-configured values instead of clearing
* Simplify withRequest S3 config handling and prevent field override bugs
* Add path traversal protection in handleDelete for local snapshot deletion
* Add comprehensive unit tests and align integration test assertions
* Fix etcd snapshot local fallback, path traversal edge cases, and test configs
* Fix gofmt, use k8s warning helpers, and isolate integration test lifecycle
* Make etcd snapshot restriction enforcement dynamic and expand test coverage
* Dynamically enforce snapshot restrictions based on configured overrides
* Drop unauthorized S3 configuration and pin restricted fields to server values
* Add warnings for ignored overrides using k8s warning headers
* Strengthen path traversal validation on snapshot deletion
* Update unit and integration tests to verify dynamic restriction behavior

Co-authored-by: Brad Davidson <brad@oatmail.org>
Signed-off-by: SRISH_JANA_ <srishjana@gmail.com>
(cherry picked from commit d8a1b5a)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
brandond added a commit that referenced this pull request Oct 16, 2026
* Implement etcd-snapshot-restrictions for issue 14562
* Add integration tests for etcd snapshot restrictions
* Fix unit test naming to match github actions CI regex
* Apply batched suggestions from code review
* Address code review feedback on etcd snapshot restrictions
* Use sets.Set from k8s.io/apimachinery/pkg/util/sets for restriction lookups and flag checks
* Revert restricted snapshot fields to server-configured values instead of clearing
* Simplify withRequest S3 config handling and prevent field override bugs
* Add path traversal protection in handleDelete for local snapshot deletion
* Add comprehensive unit tests and align integration test assertions
* Fix etcd snapshot local fallback, path traversal edge cases, and test configs
* Fix gofmt, use k8s warning helpers, and isolate integration test lifecycle
* Make etcd snapshot restriction enforcement dynamic and expand test coverage
* Dynamically enforce snapshot restrictions based on configured overrides
* Drop unauthorized S3 configuration and pin restricted fields to server values
* Add warnings for ignored overrides using k8s warning headers
* Strengthen path traversal validation on snapshot deletion
* Update unit and integration tests to verify dynamic restriction behavior

Co-authored-by: Brad Davidson <brad@oatmail.org>
Signed-off-by: SRISH_JANA_ <srishjana@gmail.com>
(cherry picked from commit d8a1b5a)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
brandond added a commit that referenced this pull request Oct 16, 2026
* Implement etcd-snapshot-restrictions for issue 14562
* Add integration tests for etcd snapshot restrictions
* Fix unit test naming to match github actions CI regex
* Apply batched suggestions from code review
* Address code review feedback on etcd snapshot restrictions
* Use sets.Set from k8s.io/apimachinery/pkg/util/sets for restriction lookups and flag checks
* Revert restricted snapshot fields to server-configured values instead of clearing
* Simplify withRequest S3 config handling and prevent field override bugs
* Add path traversal protection in handleDelete for local snapshot deletion
* Add comprehensive unit tests and align integration test assertions
* Fix etcd snapshot local fallback, path traversal edge cases, and test configs
* Fix gofmt, use k8s warning helpers, and isolate integration test lifecycle
* Make etcd snapshot restriction enforcement dynamic and expand test coverage
* Dynamically enforce snapshot restrictions based on configured overrides
* Drop unauthorized S3 configuration and pin restricted fields to server values
* Add warnings for ignored overrides using k8s warning headers
* Strengthen path traversal validation on snapshot deletion
* Update unit and integration tests to verify dynamic restriction behavior

Co-authored-by: Brad Davidson <brad@oatmail.org>
Signed-off-by: SRISH_JANA_ <srishjana@gmail.com>
(cherry picked from commit d8a1b5a)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
brandond added a commit that referenced this pull request Oct 16, 2026
* Implement etcd-snapshot-restrictions for issue 14562
* Add integration tests for etcd snapshot restrictions
* Fix unit test naming to match github actions CI regex
* Apply batched suggestions from code review
* Address code review feedback on etcd snapshot restrictions
* Use sets.Set from k8s.io/apimachinery/pkg/util/sets for restriction lookups and flag checks
* Revert restricted snapshot fields to server-configured values instead of clearing
* Simplify withRequest S3 config handling and prevent field override bugs
* Add path traversal protection in handleDelete for local snapshot deletion
* Add comprehensive unit tests and align integration test assertions
* Fix etcd snapshot local fallback, path traversal edge cases, and test configs
* Fix gofmt, use k8s warning helpers, and isolate integration test lifecycle
* Make etcd snapshot restriction enforcement dynamic and expand test coverage
* Dynamically enforce snapshot restrictions based on configured overrides
* Drop unauthorized S3 configuration and pin restricted fields to server values
* Add warnings for ignored overrides using k8s warning headers
* Strengthen path traversal validation on snapshot deletion
* Update unit and integration tests to verify dynamic restriction behavior

Co-authored-by: Brad Davidson <brad@oatmail.org>
Signed-off-by: SRISH_JANA_ <srishjana@gmail.com>
(cherry picked from commit d8a1b5a)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
patrickjmcd pushed a commit to patrickjmcd/k8s-argo that referenced this pull request Nov 4, 2026
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [k3s-io/k3s](https://github.com/k3s-io/k3s) | patch | `v1.37.1+k3s1` → `v1.37.2+k3s1` |

Merging starts the node upgrade rollout immediately (Flux applies it within minutes). Servers upgrade first, then agents, one node at a time. Never merge a minor-version jump larger than one; check no Proxmox host maintenance is in progress.

---

### Release Notes

<details>
<summary>k3s-io/k3s</summary>

### [`v1.37.2+k3s1`](https://github.com/k3s-io/k3s/releases/tag/v1.37.2%2Bk3s1): v1.37.2+k3s1

[Compare Source](k3s-io/k3s@v1.37.1+k3s1...v1.37.2+k3s1)

<!-- v1.37.2+k3s1 -->

This release updates Kubernetes to v1.37.2, and fixes a number of issues.

For more details on what's new, see the [Kubernetes release notes](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md#changelog-since-v1371).

##### Changes since v1.37.1+k3s1:

- Add gateway-api-crd to help [(#&#8203;14727)](k3s-io/k3s#14727)
- Run snapshotrestore test entries in parallel [(#&#8203;14733)](k3s-io/k3s#14733)
- Deps: bump containerd to v2.3.6 [(#&#8203;14744)](k3s-io/k3s#14744)
- Bump Traefik to v3.7.14 and gateway-api to 1.6.2 [(#&#8203;14757)](k3s-io/k3s#14757)
- Bump gateway-api to 1.6.3 [(#&#8203;14769)](k3s-io/k3s#14769)
- Bump K3s-root version to v0.15.3 [(#&#8203;14782)](k3s-io/k3s#14782)
- Bump flannel to v0.28.10 [(#&#8203;14796)](k3s-io/k3s#14796)
- Bump containerd to v2.3.7 [(#&#8203;14805)](k3s-io/k3s#14805)
- Update kube-roter to v2.11.1 [(#&#8203;14762)](k3s-io/k3s#14762)
- Remove unused replace directives [(#&#8203;14821)](k3s-io/k3s#14821)
- Bump Klipper Helm and Helm Controller version [(#&#8203;14814)](k3s-io/k3s#14814)
- Backports for 2026-10 [(#&#8203;14825)](k3s-io/k3s#14825)
  - Prevent systemd restart loop when no default route is present by waiting 60 seconds for default route to appear [#&#8203;14527](k3s-io/k3s#14527)
  - Exclude kms-providers from apiserver readiness check [#&#8203;14635](k3s-io/k3s#14635)
  - Clarify etcd local vs S3 snapshot retention flag help [#&#8203;14716](k3s-io/k3s#14716)
  - Update ServiceLB status when node addresses change [#&#8203;14550](k3s-io/k3s#14550)
  - Omit default SA key flags when service-account-signing-endpoint is set [#&#8203;14719](k3s-io/k3s#14719)
  - Fix local-path PV deletion with SELinux enforcing [#&#8203;14740](k3s-io/k3s#14740)
  - Feature/14562 etcd snapshot restrictions [#&#8203;14678](k3s-io/k3s#14678)
  - Report image list read errors when pre-pulling images [#&#8203;14732](k3s-io/k3s#14732)
  - Migrate CI from docker to GHCR [#&#8203;14603](k3s-io/k3s#14603)
  - Fix etcd member removal when etcd is disabled on an existing server [#&#8203;14801](k3s-io/k3s#14801)
  - Docker tests: add gateway-api test [#&#8203;14802](k3s-io/k3s#14802)
  - Fix goroutine leak in the proxy [#&#8203;14811](k3s-io/k3s#14811)
  - Make etcdsnapshot restrictions integration test respect the test lock [#&#8203;14820](k3s-io/k3s#14820)
- Bump rancher/mirrored-library-traefik image version [(#&#8203;14833)](k3s-io/k3s#14833)
- Bump Klipper Helm and Helm Controller version [(#&#8203;14874)](k3s-io/k3s#14874)
- Pin runners to ubuntu-24.04 [(#&#8203;14918)](k3s-io/k3s#14918)
- Bump k3s-io/kubernetes and Go references [(#&#8203;14925)](k3s-io/k3s#14925)
- Bump x/net and pass `golang.org/x/` replacements through when building bundled binaries [(#&#8203;14935)](k3s-io/k3s#14935)

##### Embedded Component Versions

| Component                  | Version                                                                                                      |
| -------------------------- | ------------------------------------------------------------------------------------------------------------ |
| Kubernetes                 | [v1.37.2](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md#v1372)            |
| Kine                       | [v0.17.1](https://github.com/k3s-io/kine/releases/tag/v0.17.1)                                               |
| SQLite                     | [3.53.4](https://sqlite.org/releaselog/3_53_4.html)                                                          |
| Etcd                       | [v3.7.1-k3s3](https://github.com/k3s-io/etcd/releases/tag/v3.7.1-k3s3)                                       |
| Containerd                 | [v2.3.7-k3s1](https://github.com/k3s-io/containerd/releases/tag/v2.3.7-k3s1)                                 |
| Runc                       | [v1.4.2](https://github.com/opencontainers/runc/releases/tag/v1.4.2)                                         |
| Flannel                    | [v0.28.10](https://github.com/flannel-io/flannel/releases/tag/v0.28.10)                                      |
| Metrics-server             | [v0.9.0](https://github.com/kubernetes-sigs/metrics-server/releases/tag/v0.9.0)                              |
| Traefik                    | [v3.7.15](https://github.com/traefik/traefik/releases/tag/v3.7.15)                                           |
| CoreDNS                    | [v1.14.7](https://github.com/coredns/coredns/releases/tag/v1.14.7)                                           |
| Helm-controller            | [v0.17.9](https://github.com/k3s-io/helm-controller/releases/tag/v0.17.9)                                    |
| Local-path-provisioner     | [v0.0.37](https://github.com/rancher/local-path-provisioner/releases/tag/v0.0.37)                            |
| Kubernetes Gateway API CRD | [1.6.301](https://github.com/k3s-io/k3s-charts/blob/main/assets/gateway-api-crd/gateway-api-crd-1.6.301.tgz) |

##### Helpful Links

As always, we welcome and appreciate feedback from our community of users. Please feel free to:

- [Open issues here](https://github.com/rancher/k3s/issues/new/choose)
- [Join our Slack channel](https://slack.rancher.io/)
- [Check out our documentation](https://rancher.com/docs/k3s/latest/en/) for guidance on how to get started or to dive deep into K3s.
- [Read how you can contribute here](https://github.com/rancher/k3s/blob/master/CONTRIBUTING.md)

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMTUuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjIxNi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJuZWVkcy1yZXZpZXciLCJyZW5vdmF0ZS9wYXRjaCJdfQ==-->

Reviewed-on: https://git.x.pmcd.io/patrickjmcd/k8s-argo/pulls/32
Co-authored-by: Renovate Bot <renovate@noreply.git.x.pmcd.io>
rogerrum pushed a commit to rogerrum/k8s-gitops that referenced this pull request Nov 25, 2026
….2+k3s1 ) (#3778)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [k3s-io/k3s](https://github.com/k3s-io/k3s) | patch | `v1.37.1+k3s1` → `v1.37.2+k3s1` |

---

> ⚠️ **Warning**
>
> Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/3566) for more information.

---

### Release Notes

<details>
<summary>k3s-io/k3s</summary>

### [`v1.37.2+k3s1`](https://github.com/k3s-io/k3s/releases/tag/v1.37.2%2Bk3s1): v1.37.2+k3s1

[Compare Source](k3s-io/k3s@v1.37.1+k3s1...v1.37.2+k3s1)

<!-- v1.37.2+k3s1 -->

This release updates Kubernetes to v1.37.2, and fixes a number of issues.

For more details on what's new, see the [Kubernetes release notes](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md#changelog-since-v1371).

##### Changes since v1.37.1+k3s1:

- Add gateway-api-crd to help [(#&#8203;14727)](k3s-io/k3s#14727)
- Run snapshotrestore test entries in parallel [(#&#8203;14733)](k3s-io/k3s#14733)
- Deps: bump containerd to v2.3.6 [(#&#8203;14744)](k3s-io/k3s#14744)
- Bump Traefik to v3.7.14 and gateway-api to 1.6.2 [(#&#8203;14757)](k3s-io/k3s#14757)
- Bump gateway-api to 1.6.3 [(#&#8203;14769)](k3s-io/k3s#14769)
- Bump K3s-root version to v0.15.3 [(#&#8203;14782)](k3s-io/k3s#14782)
- Bump flannel to v0.28.10 [(#&#8203;14796)](k3s-io/k3s#14796)
- Bump containerd to v2.3.7 [(#&#8203;14805)](k3s-io/k3s#14805)
- Update kube-roter to v2.11.1 [(#&#8203;14762)](k3s-io/k3s#14762)
- Remove unused replace directives [(#&#8203;14821)](k3s-io/k3s#14821)
- Bump Klipper Helm and Helm Controller version [(#&#8203;14814)](k3s-io/k3s#14814)
- Backports for 2026-10 [(#&#8203;14825)](k3s-io/k3s#14825)
  - Prevent systemd restart loop when no default route is present by waiting 60 seconds for default route to appear [#&#8203;14527](k3s-io/k3s#14527)
  - Exclude kms-providers from apiserver readiness check [#&#8203;14635](k3s-io/k3s#14635)
  - Clarify etcd local vs S3 snapshot retention flag help [#&#8203;14716](k3s-io/k3s#14716)
  - Update ServiceLB status when node addresses change [#&#8203;14550](k3s-io/k3s#14550)
  - Omit default SA key flags when service-account-signing-endpoint is set [#&#8203;14719](k3s-io/k3s#14719)
  - Fix local-path PV deletion with SELinux enforcing [#&#8203;14740](k3s-io/k3s#14740)
  - Feature/14562 etcd snapshot restrictions [#&#8203;14678](k3s-io/k3s#14678)
  - Report image list read errors when pre-pulling images [#&#8203;14732](k3s-io/k3s#14732)
  - Migrate CI from docker to GHCR [#&#8203;14603](k3s-io/k3s#14603)
  - Fix etcd member removal when etcd is disabled on an existing server [#&#8203;14801](k3s-io/k3s#14801)
  - Docker tests: add gateway-api test [#&#8203;14802](k3s-io/k3s#14802)
  - Fix goroutine leak in the proxy [#&#8203;14811](k3s-io/k3s#14811)
  - Make etcdsnapshot restrictions integration test respect the test lock [#&#8203;14820](k3s-io/k3s#14820)
- Bump rancher/mirrored-library-traefik image version [(#&#8203;14833)](k3s-io/k3s#14833)
- Bump Klipper Helm and Helm Controller version [(#&#8203;14874)](k3s-io/k3s#14874)
- Pin runners to ubuntu-24.04 [(#&#8203;14918)](k3s-io/k3s#14918)
- Bump k3s-io/kubernetes and Go references [(#&#8203;14925)](k3s-io/k3s#14925)
- Bump x/net and pass `golang.org/x/` replacements through when building bundled binaries [(#&#8203;14935)](k3s-io/k3s#14935)

##### Embedded Component Versions

| Component                  | Version                                                                                                      |
| -------------------------- | ------------------------------------------------------------------------------------------------------------ |
| Kubernetes                 | [v1.37.2](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md#v1372)            |
| Kine                       | [v0.17.1](https://github.com/k3s-io/kine/releases/tag/v0.17.1)                                               |
| SQLite                     | [3.53.4](https://sqlite.org/releaselog/3_53_4.html)                                                          |
| Etcd                       | [v3.7.1-k3s3](https://github.com/k3s-io/etcd/releases/tag/v3.7.1-k3s3)                                       |
| Containerd                 | [v2.3.7-k3s1](https://github.com/k3s-io/containerd/releases/tag/v2.3.7-k3s1)                                 |
| Runc                       | [v1.4.2](https://github.com/opencontainers/runc/releases/tag/v1.4.2)                                         |
| Flannel                    | [v0.28.10](https://github.com/flannel-io/flannel/releases/tag/v0.28.10)                                      |
| Metrics-server             | [v0.9.0](https://github.com/kubernetes-sigs/metrics-server/releases/tag/v0.9.0)                              |
| Traefik                    | [v3.7.15](https://github.com/traefik/traefik/releases/tag/v3.7.15)                                           |
| CoreDNS                    | [v1.14.7](https://github.com/coredns/coredns/releases/tag/v1.14.7)                                           |
| Helm-controller            | [v0.17.9](https://github.com/k3s-io/helm-controller/releases/tag/v0.17.9)                                    |
| Local-path-provisioner     | [v0.0.37](https://github.com/rancher/local-path-provisioner/releases/tag/v0.0.37)                            |
| Kubernetes Gateway API CRD | [1.6.301](https://github.com/k3s-io/k3s-charts/blob/main/assets/gateway-api-crd/gateway-api-crd-1.6.301.tgz) |

##### Helpful Links

As always, we welcome and appreciate feedback from our community of users. Please feel free to:

- [Open issues here](https://github.com/rancher/k3s/issues/new/choose)
- [Join our Slack channel](https://slack.rancher.io/)
- [Check out our documentation](https://rancher.com/docs/k3s/latest/en/) for guidance on how to get started or to dive deep into K3s.
- [Read how you can contribute here](https://github.com/rancher/k3s/blob/master/CONTRIBUTING.md)

</details>

---

### Configuration

📅 **Schedule**: (in timezone America/Chicago)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Operator](https://github.com/mogenius/renovate-operator).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xNTEuMiIsInVwZGF0ZWRJblZlciI6IjQ0LjE1MS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9naXRodWItcmVsZWFzZSIsInR5cGUvcGF0Y2giXX0=-->

Reviewed-on: https://git.rsr.net/roger/k8s-gitops/pulls/3778
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow restricting snapshot management commands to acting on preconfigured paths and backends

4 participants