gomod: update etcd to 3.5.21
This is required for any in-place upgrades to etcd 3.6 and higher as
earlier 3.5 releases have a bug [1] relating to learner metadata which
all Monogon nodes would trigger. Any ConsensusMember nodes first need to
be upgraded to a build containing this change but not the 3.6 upgrade
before being able to upgrade to a 3.6-containg version.
[1] https://github.com/etcd-io/etcd/issues/19557
Change-Id: I689b3456daf0fa28c38a8cc22e33cb4b6032ad49
Reviewed-on: https://review.monogon.dev/c/monogon/+/4393
Reviewed-by: Tim Windelschmidt <tim@monogon.tech>
Tested-by: Jenkins CI
diff --git a/go.mod b/go.mod
index ba0f1f9..0ba6695 100644
--- a/go.mod
+++ b/go.mod
@@ -107,16 +107,16 @@
github.com/stretchr/testify v1.10.0
github.com/vishvananda/netlink v1.3.1-0.20240905180732-b1ce50cfa9be
github.com/yalue/native_endian v1.0.2
- go.etcd.io/etcd/api/v3 v3.5.16
- go.etcd.io/etcd/client/pkg/v3 v3.5.16
- go.etcd.io/etcd/client/v3 v3.5.16
- go.etcd.io/etcd/server/v3 v3.5.16
- go.etcd.io/etcd/tests/v3 v3.5.13
+ go.etcd.io/etcd/api/v3 v3.5.21
+ go.etcd.io/etcd/client/pkg/v3 v3.5.21
+ go.etcd.io/etcd/client/v3 v3.5.21
+ go.etcd.io/etcd/server/v3 v3.5.21
+ go.etcd.io/etcd/tests/v3 v3.5.21
go.uber.org/multierr v1.11.0
go.uber.org/zap v1.27.0
go4.org/netipx v0.0.0-20231129151722-fdeea329fbba
golang.org/x/crypto v0.36.0
- golang.org/x/net v0.37.0
+ golang.org/x/net v0.38.0
golang.org/x/sync v0.12.0
golang.org/x/sys v0.31.0
golang.org/x/term v0.30.0
@@ -244,7 +244,7 @@
github.com/godbus/dbus/v5 v5.1.0 // indirect
github.com/gofrs/flock v0.8.1 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
- github.com/golang-jwt/jwt/v4 v4.5.0 // indirect
+ github.com/golang-jwt/jwt/v4 v4.5.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/google/btree v1.1.2 // indirect
@@ -379,9 +379,9 @@
github.com/xlab/treeprint v1.2.0 // indirect
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 // indirect
go.etcd.io/bbolt v1.3.11 // indirect
- go.etcd.io/etcd/client/v2 v2.305.16 // indirect
- go.etcd.io/etcd/pkg/v3 v3.5.16 // indirect
- go.etcd.io/etcd/raft/v3 v3.5.16 // indirect
+ go.etcd.io/etcd/client/v2 v2.305.21 // indirect
+ go.etcd.io/etcd/pkg/v3 v3.5.21 // indirect
+ go.etcd.io/etcd/raft/v3 v3.5.21 // indirect
go.mozilla.org/pkcs7 v0.9.0 // indirect
go.opencensus.io v0.24.0 // indirect
go.opentelemetry.io/auto/sdk v1.1.0 // indirect