Skip to content

Commit da3e7c8

Browse files
committed
feat: update Talos to 1.9.0 final
Also bump CAPI to 1.9.0. Signed-off-by: Andrey Smirnov <[email protected]>
1 parent 7cd504f commit da3e7c8

File tree

6 files changed

+102
-122
lines changed

6 files changed

+102
-122
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ TEST_RUN ?= ./...
1111

1212
TOOLS ?= ghcr.io/siderolabs/tools:v1.9.0
1313
PKGS ?= v1.9.0
14-
TALOS_VERSION ?= v1.9.0-beta.0
15-
K8S_VERSION ?= 1.30.1
14+
TALOS_VERSION ?= v1.9.0
15+
K8S_VERSION ?= 1.31.4
1616

1717
CONTROLLER_GEN_VERSION ?= v0.16.2
1818
CONVERSION_GEN_VERSION ?= v0.31.3

config/crd/bases/bootstrap.cluster.x-k8s.io_talosconfigs.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,20 +164,20 @@ spec:
164164
description: |-
165165
The reason for the condition's last transition in CamelCase.
166166
The specific API may choose whether or not this field is considered a guaranteed API.
167-
This field may not be empty.
167+
This field may be empty.
168168
type: string
169169
severity:
170170
description: |-
171-
Severity provides an explicit classification of Reason code, so the users or machines can immediately
171+
severity provides an explicit classification of Reason code, so the users or machines can immediately
172172
understand the current situation and act accordingly.
173173
The Severity field MUST be set only when Status=False.
174174
type: string
175175
status:
176-
description: Status of the condition, one of True, False, Unknown.
176+
description: status of the condition, one of True, False, Unknown.
177177
type: string
178178
type:
179179
description: |-
180-
Type of condition in CamelCase or in foo.example.com/CamelCase.
180+
type of condition in CamelCase or in foo.example.com/CamelCase.
181181
Many .condition.type values are consistent across resources like Available, but because arbitrary conditions
182182
can be useful (see .node.status.conditions), the ability to deconflict is important.
183183
type: string

controllers/talosconfig_controller.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func (r *TalosConfigReconciler) SetupWithManager(ctx context.Context, mgr ctrl.M
8181
b := ctrl.NewControllerManagedBy(mgr).
8282
For(&bootstrapv1alpha3.TalosConfig{}).
8383
WithOptions(options).
84-
WithEventFilter(predicates.ResourceNotPausedAndHasFilterLabel(ctrl.LoggerFrom(ctx), r.WatchFilterValue)).
84+
WithEventFilter(predicates.ResourceNotPausedAndHasFilterLabel(r.Scheme, ctrl.LoggerFrom(ctx), r.WatchFilterValue)).
8585
Watches(
8686
&capiv1.Machine{},
8787
handler.EnqueueRequestsFromMapFunc(r.MachineToBootstrapMapFunc),
@@ -91,16 +91,16 @@ func (r *TalosConfigReconciler) SetupWithManager(ctx context.Context, mgr ctrl.M
9191
b = b.Watches(
9292
&expv1.MachinePool{},
9393
handler.EnqueueRequestsFromMapFunc(r.MachinePoolToBootstrapMapFunc),
94-
).WithEventFilter(predicates.ResourceNotPausedAndHasFilterLabel(ctrl.LoggerFrom(ctx), r.WatchFilterValue))
94+
).WithEventFilter(predicates.ResourceNotPausedAndHasFilterLabel(r.Scheme, ctrl.LoggerFrom(ctx), r.WatchFilterValue))
9595
}
9696

9797
b = b.Watches(
9898
&capiv1.Cluster{},
9999
handler.EnqueueRequestsFromMapFunc(r.ClusterToTalosConfigs),
100100
builder.WithPredicates(
101-
predicates.All(ctrl.LoggerFrom(ctx),
102-
predicates.ClusterUnpausedAndInfrastructureReady(ctrl.LoggerFrom(ctx)),
103-
predicates.ResourceHasFilterLabel(ctrl.LoggerFrom(ctx), r.WatchFilterValue),
101+
predicates.All(r.Scheme, ctrl.LoggerFrom(ctx),
102+
predicates.ClusterPausedTransitionsOrInfrastructureReady(r.Scheme, ctrl.LoggerFrom(ctx)),
103+
predicates.ResourceHasFilterLabel(r.Scheme, ctrl.LoggerFrom(ctx), r.WatchFilterValue),
104104
),
105105
),
106106
)

go.mod

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,28 @@ require (
88
github.com/google/go-cmp v0.6.0
99
github.com/siderolabs/crypto v0.5.0
1010
github.com/siderolabs/go-pointer v1.0.0
11-
github.com/siderolabs/talos/pkg/machinery v1.9.0-beta.0
11+
github.com/siderolabs/talos/pkg/machinery v1.9.0
1212
github.com/spf13/pflag v1.0.5
1313
github.com/stretchr/testify v1.10.0
14-
golang.org/x/sys v0.27.0
14+
golang.org/x/sys v0.28.0
1515
gopkg.in/yaml.v2 v2.4.0
1616
k8s.io/api v0.31.3
1717
k8s.io/apiextensions-apiserver v0.31.3
1818
k8s.io/apimachinery v0.31.3
1919
k8s.io/client-go v0.31.3
2020
k8s.io/component-base v0.31.3
2121
k8s.io/klog/v2 v2.130.1
22-
sigs.k8s.io/cluster-api v1.8.5
22+
sigs.k8s.io/cluster-api v1.9.0
2323
sigs.k8s.io/controller-runtime v0.19.3
2424
)
2525

2626
require (
2727
cel.dev/expr v0.18.0 // indirect
28+
dario.cat/mergo v1.0.1 // indirect
2829
github.com/MakeNowJust/heredoc v1.0.0 // indirect
2930
github.com/Masterminds/goutils v1.1.1 // indirect
30-
github.com/Masterminds/semver/v3 v3.2.0 // indirect
31-
github.com/Masterminds/sprig/v3 v3.2.3 // indirect
31+
github.com/Masterminds/semver/v3 v3.3.0 // indirect
32+
github.com/Masterminds/sprig/v3 v3.3.0 // indirect
3233
github.com/NYTimes/gziphandler v1.1.1 // indirect
3334
github.com/ProtonMail/go-crypto v1.1.3 // indirect
3435
github.com/adrg/xdg v0.5.3 // indirect
@@ -41,7 +42,7 @@ require (
4142
github.com/cloudflare/circl v1.5.0 // indirect
4243
github.com/containerd/go-cni v1.1.10 // indirect
4344
github.com/containernetworking/cni v1.2.3 // indirect
44-
github.com/cosi-project/runtime v0.7.2 // indirect
45+
github.com/cosi-project/runtime v0.7.6 // indirect
4546
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
4647
github.com/distribution/reference v0.6.0 // indirect
4748
github.com/drone/envsubst/v2 v2.0.0-20210730161058-179042472c46 // indirect
@@ -58,7 +59,7 @@ require (
5859
github.com/go-openapi/jsonpointer v0.19.6 // indirect
5960
github.com/go-openapi/jsonreference v0.20.2 // indirect
6061
github.com/go-openapi/swag v0.22.4 // indirect
61-
github.com/gobuffalo/flect v1.0.2 // indirect
62+
github.com/gobuffalo/flect v1.0.3 // indirect
6263
github.com/gogo/protobuf v1.3.2 // indirect
6364
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
6465
github.com/golang/protobuf v1.5.4 // indirect
@@ -72,12 +73,12 @@ require (
7273
github.com/hashicorp/errwrap v1.1.0 // indirect
7374
github.com/hashicorp/go-multierror v1.1.1 // indirect
7475
github.com/hashicorp/hcl v1.0.0 // indirect
75-
github.com/huandu/xstrings v1.3.3 // indirect
76+
github.com/huandu/xstrings v1.5.0 // indirect
7677
github.com/imdario/mergo v0.3.13 // indirect
7778
github.com/inconshreveable/mousetrap v1.1.0 // indirect
7879
github.com/josharian/intern v1.0.0 // indirect
7980
github.com/josharian/native v1.1.0 // indirect
80-
github.com/jsimonetti/rtnetlink/v2 v2.0.2 // indirect
81+
github.com/jsimonetti/rtnetlink/v2 v2.0.3-0.20241216183107-2d6e9f8ad3f2 // indirect
8182
github.com/json-iterator/go v1.1.12 // indirect
8283
github.com/magiconair/properties v1.8.7 // indirect
8384
github.com/mailru/easyjson v0.7.7 // indirect
@@ -91,7 +92,7 @@ require (
9192
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
9293
github.com/modern-go/reflect2 v1.0.2 // indirect
9394
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
94-
github.com/onsi/gomega v1.34.0 // indirect
95+
github.com/onsi/gomega v1.36.0 // indirect
9596
github.com/opencontainers/go-digest v1.0.0 // indirect
9697
github.com/opencontainers/runtime-spec v1.2.0 // indirect
9798
github.com/pelletier/go-toml/v2 v2.2.2 // indirect
@@ -105,14 +106,14 @@ require (
105106
github.com/ryanuber/go-glob v1.0.0 // indirect
106107
github.com/sagikazarmark/locafero v0.4.0 // indirect
107108
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
108-
github.com/shopspring/decimal v1.3.1 // indirect
109+
github.com/shopspring/decimal v1.4.0 // indirect
109110
github.com/siderolabs/gen v0.7.0 // indirect
110-
github.com/siderolabs/go-blockdevice/v2 v2.0.6 // indirect
111+
github.com/siderolabs/go-blockdevice/v2 v2.0.7 // indirect
111112
github.com/siderolabs/net v0.4.0 // indirect
112113
github.com/siderolabs/protoenc v0.2.1 // indirect
113114
github.com/sourcegraph/conc v0.3.0 // indirect
114115
github.com/spf13/afero v1.11.0 // indirect
115-
github.com/spf13/cast v1.6.0 // indirect
116+
github.com/spf13/cast v1.7.0 // indirect
116117
github.com/spf13/cobra v1.8.1 // indirect
117118
github.com/spf13/viper v1.19.0 // indirect
118119
github.com/stoewer/go-strcase v1.3.0 // indirect
@@ -129,25 +130,25 @@ require (
129130
go.opentelemetry.io/proto/otlp v1.3.1 // indirect
130131
go.uber.org/multierr v1.11.0 // indirect
131132
go.uber.org/zap v1.27.0 // indirect
132-
golang.org/x/crypto v0.29.0 // indirect
133+
golang.org/x/crypto v0.30.0 // indirect
133134
golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f // indirect
134-
golang.org/x/net v0.31.0 // indirect
135+
golang.org/x/net v0.32.0 // indirect
135136
golang.org/x/oauth2 v0.24.0 // indirect
136-
golang.org/x/sync v0.9.0 // indirect
137-
golang.org/x/term v0.26.0 // indirect
138-
golang.org/x/text v0.20.0 // indirect
137+
golang.org/x/sync v0.10.0 // indirect
138+
golang.org/x/term v0.27.0 // indirect
139+
golang.org/x/text v0.21.0 // indirect
139140
golang.org/x/time v0.8.0 // indirect
140141
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
141-
google.golang.org/genproto/googleapis/api v0.0.0-20241118233622-e639e219e697 // indirect
142-
google.golang.org/genproto/googleapis/rpc v0.0.0-20241118233622-e639e219e697 // indirect
143-
google.golang.org/grpc v1.68.0 // indirect
142+
google.golang.org/genproto/googleapis/api v0.0.0-20241206012308-a4fef0638583 // indirect
143+
google.golang.org/genproto/googleapis/rpc v0.0.0-20241206012308-a4fef0638583 // indirect
144+
google.golang.org/grpc v1.68.1 // indirect
144145
google.golang.org/protobuf v1.35.2 // indirect
145146
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
146147
gopkg.in/inf.v0 v0.9.1 // indirect
147148
gopkg.in/ini.v1 v1.67.0 // indirect
148149
gopkg.in/yaml.v3 v3.0.1 // indirect
149150
k8s.io/apiserver v0.31.3 // indirect
150-
k8s.io/cluster-bootstrap v0.30.3 // indirect
151+
k8s.io/cluster-bootstrap v0.31.3 // indirect
151152
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 // indirect
152153
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 // indirect
153154
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.30.3 // indirect

0 commit comments

Comments
 (0)