9 Commits

Author SHA1 Message Date
761d53a418 feat: update dependencies
Rekres, update dependencies.

Mostly to bring in
https://github.com/siderolabs/discovery-client/releases/tag/v0.1.11 and
get it tested, as this repo has client tests.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-02-26 15:34:11 +04:00
7c1129e3e7 chore: bump deps
Bump direct deps:
- run rekres
- github.com/fsnotify/fsnotify to v1.8.0
- github.com/grpc-ecosystem/go-grpc-middleware/v2 to v2.2.0
- github.com/siderolabs/gen to v0.8.0
- github.com/stretchr/testify to v1.10.0
- golang.org/x/net to v0.32.0
- golang.org/x/sync to v0.10.0
- golang.org/x/time to v0.8.0
- google.golang.org/grpc to v1.69.0
- google.golang.org/protobuf to v1.36.0

Bump indirect deps:
- github.com/klauspost/compress v1.17.11
- github.com/prometheus/common v0.61.0
- golang.org/x/sys v0.28.0
- golang.org/x/text v0.21.0
- google.golang.org/genproto/googleapis/rpc v0.0.0-20241216192217-9240e9c98484

Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
2024-12-17 18:38:38 +03:00
270f2575e7 chore: bump deps
Run rekres and bump deps.

Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
2024-09-02 16:34:00 +03:00
8a7a0d4a43 chore: bump deps
Run rekres and bump gen to 0.5.0. Preparation for the next PR.

Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
2024-05-28 03:03:31 +03:00
ea8b8f1493 feat: implement state storage
On a best-effort basis, store the state on the disk periodically and on shutdown & restore it from the disk on startup.

Additionally, bump Go version, deps & rekres.

Closes siderolabs/discovery-service#54.

Signed-off-by: Utku Ozdemir <utku.ozdemir@siderolabs.com>
2024-05-22 12:00:13 +02:00
c55142668f feat: migrate grpc-middleware to v2, update deps
Update removing multiple old middlewares, rework
the way data is passed through the context, logging fields, etc.

Fix minimum keepalive interval enforcement.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-03-12 18:14:14 +04:00
6af92b54d6 feat: add support for arm64 builds
Resolves https://github.com/siderolabs/discovery-service/issues/52.
`make rekres` also updated some of the image tags.

Signed-off-by: Dennis Marttinen <twelho@welho.tech>
Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-01-22 23:24:36 +05:30
952dc5438f refactor: update dependencies, small cleanups
No real functional changes, some small cleanups, using generic
functions, refactoring some code.

Use the actual address instead of string for the IP rate limiter
(smaller map key).

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-01-12 18:10:28 +04:00
4cf4b6edc8 fix: update Go to 1.21.3
Rekres, bump dependencies.

Security CVE-2023-44487

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2023-10-11 14:54:20 +04:00