k3s/pkg/etcd
Brad Davidson 4cc440f2c9
Some checks are pending
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
Simplify snapshot compress/decompress logic
Compression creates a zipfile with the same path as the snapshot file
containing only the snapshot. Decompression can be a bit simpler by also
extracting to the same path, and erroring if there are unexpected
contents.

In retrospect we probably should have just gzip'd the snapshot file, but
I think there was some intention to observe the same behavior as RKE1,
which used zip files.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-03-16 16:06:49 -07:00
..
s3 Use etcd-snapshot-retention as default for s3 if etcd-s3-retention is not set 2026-03-10 12:10:40 -07:00
snapshot lint: exported 2025-12-18 11:20:07 -08:00
snapshotmetrics Move etcd metrics to separate package 2025-12-08 12:53:10 -08:00
store Replace merr.NewErrors with errors.Join 2026-03-09 16:09:01 -07:00
apiaddresses_controller.go Replace raw ListWatch with NewListWatchFromClient 2025-10-27 15:06:45 -07:00
etcd.go Drop use of github.com/gorilla/mux 2026-03-09 16:09:01 -07:00
etcd_linux_test.go Fix removal of init node 2026-02-10 15:49:28 -08:00
etcdproxy.go Refactor load balancer server list and health checking 2024-12-06 11:45:34 -08:00
member_controller.go Use patch helper for etcd member controller 2025-12-08 12:53:10 -08:00
metadata_controller.go lint: empty-lines 2025-12-18 11:20:07 -08:00
resolver.go lint: exported 2025-12-18 11:20:07 -08:00
snapshot.go Simplify snapshot compress/decompress logic 2026-03-16 16:06:49 -07:00
snapshot_controller.go Update packages to remove dep on archived github.com/pkg/errors 2026-03-09 16:09:01 -07:00
snapshot_handler.go Drop use of github.com/gorilla/mux 2026-03-09 16:09:01 -07:00