Andrey Smirnov
17965c32fa
chore: update Go to 1.24.1
...
Address the potential CVE-2025-22870.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-03-05 20:45:49 +04:00
Andrey Smirnov
ab6cb3dfa3
chore: disable azure upload
...
Disable upload, as credentials are broken.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-03-05 14:49:02 +04:00
Andrey Smirnov
1849b53881
feat: update dependencies
...
Bump Go modules, linters, other minor dependencies.
Linux 6.12.17, containerd 2.0.3.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-03-04 21:03:43 +04:00
Dmitry Sharshakov
46d67fe446
chore: update Go to 1.24, update pkgs
...
Also pull in usrmerged tools, so remove older hacks. Add a fixed enumer fork with Go 1.24 compatibility.
Signed-off-by: Dmitrii Sharshakov <dmitry.sharshakov@siderolabs.com>
2025-02-17 17:23:16 +01:00
Dmitry Sharshakov
cd66fc6e8e
feat: use bootstrapped packages for building Talos
...
Update tools, pkgs and extras to use fully bootstrapped [Stageˣ]-derived toolchain for building Talos and its dependencies.
This brings in changes related to root being usrmerged now, so some paths have changed. Extras have been cleaned up: use only the needed package.
Addresses: #10187
Signed-off-by: Dmitry Sharshakov <dmitry.sharshakov@siderolabs.com>
2025-02-10 13:00:36 +04:00
Andrey Smirnov
716f700da7
feat: provide initial support for ethtool configuration
...
See https://github.com/siderolabs/ethtool - our fork.
This PR covers only configuring rings, follow-up PRs will address other
pieces: channels and features.
Example:
```
node: 172.20.0.5
metadata:
namespace: network
type: EthernetStatuses.net.talos.dev
id: enp0s2
version: 4
owner: network.EthernetStatusController
phase: running
created: 2025-02-04T16:03:14Z
updated: 2025-02-04T16:04:12Z
spec:
linkState: true
port: Other
duplex: Unknown
rings:
rx-max: 256
tx-max: 256
rx: 128
tx: 128
tx-push: false
rx-push: false
```
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-02-05 21:28:42 +04:00
Andrey Smirnov
650eb3a4f2
refactor: rewrite cloud uploader to use AWS SDK Go v2
...
The v1 SDK was deprecated and archived.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-27 20:28:12 +04:00
Andrey Smirnov
4761a9e6aa
chore: update dependencies
...
Go modules, tools, pkgs, etc.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-26 14:48:31 +04:00
Andrey Smirnov
9916e2cd8a
chore: update pkgs/tools/extras for Go 1.23.3
...
Bump some dependencies as well.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-11-12 16:38:32 +04:00
Andrey Smirnov
a309f6aa57
chore: fix nil pointer dereference in AWS uploader
...
NB: it should be rewritten for AWS SDK v2.
The Progress is sometimes `nil` apparently.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-11-08 20:35:16 +04:00
Andrey Smirnov
398f714cff
feat: update Linux 6.6.59, runc 1.2.1
...
Update Go dependencies, other releases.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-11-05 20:10:27 +04:00
Dmitriy Matrenichev
cedabeddf7
chore: cleanup code
...
- Replace unsafe resource interface calls with type-safe versions.
- Remove unused parameter names.
- Minor changes.
Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
2024-11-04 21:14:00 +03:00
Dmitriy Matrenichev
a13cf76a34
chore: simplify DNSUpstreamController and DNSUpstream resource
...
This PR does those things:
- Fixes race condition where controller could potentially modify upstream, while other controller is copying its internals to the slice.
- Simplifies `run` function in `DNSUpstreamController` by removing all `Idx` handling.
- Removes `Idx` field from `DNSUpstream`. Upstreams are now sorted by their id with №X prefix.
- `Proxy` Stop is now called from the finalizer. In combination with iterators, this ensures that we only stop upstream when it's fully unreachable.
Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
2024-10-24 19:29:21 +03:00
Andrey Smirnov
e0434d77d7
feat: update dependencies
...
Bring in new tools, pkgs, update Go dependencies and others.
In preparation for Talos 1.9.0-alpha.0.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-10-17 22:12:50 +04:00
Dmitriy Matrenichev
59a78da42c
chore: add proto-codec/codec
...
Unify usage of proto codec v2 across our projects.
Bump grpc library to 1.67.1 and ensure that we it still works with HTTP/2 ALPN value changes.
For https://github.com/siderolabs/talos/issues/9404
Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
2024-10-17 00:12:42 +03:00
Andrey Smirnov
6a014374be
feat: enable QEDF driver
...
See https://github.com/siderolabs/talos/discussions/9391
Also bump pkgs & tools, bring in Go 1.23.2, containerd v2.0.0-rc.5
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-10-04 11:46:41 +04:00
Andrey Smirnov
392c4798f0
feat: prepare for Talos 1.9
...
Update tools, pkgs, extras.
Brings in Go 1.23.1, Linux 6.6.52, new xfsprogs, etc.
Fork docs.
Add new version contract, etc.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-09-27 21:23:48 +04:00
Noel Georgi
d64ce44e46
chore(ci): e2e gcp
...
Add e2e-gcp.
Also drop other CAPI stuff.
Fixes : #8842
Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-09-06 19:07:20 +05:30
Andrey Smirnov
bcaf63628b
feat: update dependencies
...
Update to final tools, pkgs, extras.
Bump Go dependencies.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-09-06 15:51:05 +04:00
Noel Georgi
7edcbbb833
chore: support gcp in cloud-image-uploader
...
Add support for uploading images to GCP in cloud image uploader.
GCP is not enabled by default since it's going to be used for e2e-tests
for now.
Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-09-04 15:08:29 +05:30
Dmitriy Matrenichev
622d66a98f
chore: bump deps
...
Bump stuff
Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
2024-08-09 11:59:03 +03:00
Tim Jones
d52b89cb91
chore: ensure tls required on s3 buckets
...
Ensure that non-TLS connections are denied to S3 buckets via policy.
Required for compliance.
Signed-off-by: Tim Jones <tim.jones@siderolabs.com>
2024-07-17 10:27:29 +02:00
Dmitriy Matrenichev
dad9c40c73
chore: simplify code
...
- replace `interface{}` with `any` using `gofmt -r 'interface{} -> any -w'`
- replace `a = []T{}` with `var a []T` where possible.
- replace `a = []T{}` with `a = make([]T, 0, len(b))` where possible.
Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
2024-07-08 18:14:00 +03:00
Andrey Smirnov
b4c871e4b7
chore: bump dependencies
...
Update Go modules and other dependencies.
Fix linting of the Dockerfile.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-07-02 14:46:51 +04:00
Andrey Smirnov
1fb8453c2d
chore: update Go modules
...
Azure SDK has a CVE, bump other modules.
Update `hydrophone` with my fixes which got merged upstream.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-06-12 15:56:58 +04:00
Andrey Smirnov
41f92e0ba4
chore: update Go to 1.22.4, other updates
...
Bump go modules, adjust the code.
New linter warnings.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-06-05 20:59:52 +04:00
Dmitriy Matrenichev
dedb6d360d
fix: update github.com/siderolabs/siderolink to v0.3.7
...
Version 0.3.6 contains incorrect server implementation which breaks our integration tests.
Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
2024-05-15 17:10:06 +03:00
Andrey Smirnov
1d29111d43
chore: update Go to 1.22.3
...
Also bump dependencies.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-05-08 14:59:41 +04:00
Andrey Smirnov
84cd7dbec4
feat: update Linux to 6.6.29
...
Pull in fixes for cloud-image-uploader from #8667.:w
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-05-01 15:59:04 +04:00
Dmitriy Matrenichev
ccdb4c8b10
chore: update google.golang.org/grpc to 1.63.2
...
Update other modules while we are at it.
Closes #8628
Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
2024-04-23 16:39:28 +03:00
Andrey Smirnov
951904554e
chore: bump dependencies (go 1.22.2)
...
Update Go to 1.22.2, update Go modules to resolve
[HTTP/2 issue](https://www.kb.cert.org/vuls/id/421644 ).
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-04-04 14:59:24 +04:00
Noel Georgi
d320498a44
chore: bump dependencies
...
Bump dependencies, bring in v1.30.0-rc.1 of k8s.
Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-04-03 12:25:10 +05:30
Noel Georgi
ee51f04af3
chore: azure e2e
...
Add code to support azure e2e
Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-03-23 17:30:36 +05:30
Dmitriy Matrenichev
19f15a840c
chore: bump golangci-lint to 1.57.0
...
Fix all discovered issues.
Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
2024-03-21 01:06:53 +03:00
Andrey Smirnov
403ad93c35
feat: update dependencies
...
containerd 1.7.14
Linux 6.6.21
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-03-14 16:17:24 +04:00
Andrey Smirnov
8152a6dd6b
feat: update Go to 1.22.1
...
Update Go and other dependencies as well.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-03-07 15:53:29 +04:00
Dmitriy Matrenichev
fa3b933705
chore: replace fmt.Errorf with errors.New where possible
...
This time use `eg` from `x/tools` repo tool to do this.
Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
2024-02-14 17:39:30 +03:00
Andrey Smirnov
a1ec1705bc
chore: update Go to 1.22.0
...
Finally!
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-02-12 14:33:38 +04:00
Dmitriy Matrenichev
5324d39167
chore: bump stuff
...
Also fix .golangci.yml file.
Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
2024-02-09 19:19:25 +03:00
Dmitriy Matrenichev
afa71d6b02
chore: use "handle-like" resource in DNSResolveCacheController
...
Rework (and simplify) `DNSResolveCacheController` to use `DNSUpstream` "handle-like" resources.
Depends on https://github.com/cosi-project/runtime/pull/400
Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
2024-02-08 21:40:57 +03:00
Andrey Smirnov
2ff81c06bc
feat: update runc 1.1.12, containerd 1.7.13
...
Also:
* Linux 6.6.14 + XDP enablement
* etcd 3.5.12
Various other bumps for the tools, utilities, and Go modules.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-02-01 17:01:04 +04:00
Andrey Smirnov
e6e422b92a
chore: bump dependencies
...
Go modules, tools, etc.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2023-12-21 19:01:16 +04:00
Andrey Smirnov
db4e2539d4
feat: update Kubernetes 1.29.0-rc.1 and other bumps
...
Bump Go modules, final tools and semi-final pkgs.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2023-11-29 18:29:52 +04:00
Andrey Smirnov
514e514ba6
feat: update Linux 6.1.63, containerd 1.7.9
...
Also various small bumps.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2023-11-21 18:01:36 +04:00
Andrey Smirnov
e22ab440d7
feat: update Linux 6.1.61, containerd 1.7.8, runc 1.1.10
...
Bump tools/pkgs/extras.
Update Go dependencies.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2023-11-09 20:17:28 +04:00
Andrey Smirnov
c97db5dfe1
chore: bump Go dependencies
...
Update Go modules.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2023-11-03 12:55:23 +04:00
Andrey Smirnov
9dfae8467d
chore: update dependencies
...
Containerd 1.7.7, Linux 6.1.58.
Fixes #7859
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2023-10-17 17:41:38 +04:00
Andrey Smirnov
e71508ec10
chore: update dependencies
...
Go modules, Cilium CLI, Helm, etc.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2023-09-28 19:48:02 +04:00
guoguangwu
4874cfb95a
chore: fix typo
...
Contributor.
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2023-09-19 17:24:44 +04:00
Andrey Smirnov
3c9f7a7de6
chore: re-enable nolintlint and typecheck linters
...
Drop startup/rand.go, as since Go 1.20 `rand.Seed` is done
automatically.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2023-08-25 01:05:41 +04:00