Skip to content

Commit 74f637e

Browse files
committed
feat: update for Talos 1.8
Pull in new components, no changes. Signed-off-by: Andrey Smirnov <[email protected]>
1 parent 9d73e5b commit 74f637e

File tree

10 files changed

+297
-351
lines changed

10 files changed

+297
-351
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ WITH_RACE ?= false
99
CGO_ENABLED = 0
1010
TESTPKGS ?= ./controllers/...
1111

12-
CONTROLLER_GEN_VERSION ?= v0.14.0
13-
CONVERSION_GEN_VERSION ?= v0.29.3
12+
CONTROLLER_GEN_VERSION ?= v0.16.2
13+
CONVERSION_GEN_VERSION ?= v0.31.0
1414

1515
ifneq (, $(filter $(WITH_RACE), t true TRUE y yes 1))
1616
GO_BUILDFLAGS += -race
@@ -22,8 +22,8 @@ GO_LDFLAGS += -s -w
2222

2323
ARTIFACTS := _out
2424

25-
TOOLS ?= ghcr.io/siderolabs/tools:v1.7.0-1-g10b2a69
26-
PKGS ?= v1.7.0-5-gb7f1920
25+
TOOLS ?= ghcr.io/siderolabs/tools:v1.8.0-1-ga0c06c6
26+
PKGS ?= v1.8.0
2727

2828
BUILD := docker buildx build
2929
PLATFORM ?= linux/amd64

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,21 @@ This provider's versions are compatible with the following versions of Cluster A
2626

2727
This provider's versions are able to install and manage the following versions of Kubernetes:
2828

29-
| | v1.16 | v 1.17 | v1.18 | v1.19 | v1.20 | v1.21 | v1.22 | v1.23 | v1.24 | v1.25 | v1.26 | v1.27 | v1.28 | v1.29 | v1.30 |
30-
| ------------------------------------------- | ----- | ------ | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- |
31-
| Control Plane Provider Talos v1alpha3 (v0.2) ||||||| | | | | | | | | |
32-
| Control Plane Provider Talos v1alpha3 (v0.3) ||||||| | | | | | | | | |
33-
| Control Plane Provider Talos v1alpha3 (v0.4) | | | ||||||||| | | | |
34-
| Control Plane Provider Talos v1alpha3 (v0.5) | | | | | | | | | |||||||
29+
| | v1.16 | v 1.17 | v1.18 | v1.19 | v1.20 | v1.21 | v1.22 | v1.23 | v1.24 | v1.25 | v1.26 | v1.27 | v1.28 | v1.29 | v1.30 | v1.31 |
30+
| ------------------------------------------- | ----- | ------ | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- |
31+
| Control Plane Provider Talos v1alpha3 (v0.2) ||||||| | | | | | | | | | |
32+
| Control Plane Provider Talos v1alpha3 (v0.3) ||||||| | | | | | | | | | |
33+
| Control Plane Provider Talos v1alpha3 (v0.4) | | | ||||||||| | | | | |
34+
| Control Plane Provider Talos v1alpha3 (v0.5) | | | | | | | | | ||||||||
3535

3636
This provider's versions are compatible with the following versions of Talos:
3737

38-
| | v0.11 | v0.12 | v0.13 | v0.14 | v1.0 | v1.1 | v1.2 | v1.3 | v1.4 | v1.5 | v1.6 | v1.7 |
39-
| -------------------------------------------- | ----- | ------ | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- |
40-
| Control Plane Provider Talos v1alpha3 (v0.3) ||| | | | | | | | | | |
41-
| Control Plane Provider Talos v1alpha3 (v0.3) |||| | | | | | | | | |
42-
| Control Plane Provider Talos v1alpha3 (v0.4) ||||||||| | | | |
43-
| Control Plane Provider Talos v1alpha3 (v0.5) | | | | | | | ||||||
38+
| | v0.11 | v0.12 | v0.13 | v0.14 | v1.0 | v1.1 | v1.2 | v1.3 | v1.4 | v1.5 | v1.6 | v1.7 | v1.8 |
39+
| -------------------------------------------- | ----- | ------ | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- |
40+
| Control Plane Provider Talos v1alpha3 (v0.3) ||| | | | | | | | | | | |
41+
| Control Plane Provider Talos v1alpha3 (v0.3) |||| | | | | | | | | | |
42+
| Control Plane Provider Talos v1alpha3 (v0.4) ||||||||| | | | | |
43+
| Control Plane Provider Talos v1alpha3 (v0.5) | | | | | | | |||||||
4444

4545
## Building and Installing
4646

config/crd/bases/controlplane.cluster.x-k8s.io_taloscontrolplanes.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.14.0
6+
controller-gen.kubebuilder.io/version: v0.16.2
77
name: taloscontrolplanes.controlplane.cluster.x-k8s.io
88
spec:
99
group: controlplane.cluster.x-k8s.io
@@ -100,7 +100,6 @@ spec:
100100
description: |-
101101
Source of the hostname.
102102
103-
104103
Allowed values: "MachineName" (use linked Machine's Name).
105104
type: string
106105
type: object
@@ -145,7 +144,6 @@ spec:
145144
description: |-
146145
Source of the hostname.
147146
148-
149147
Allowed values: "MachineName" (use linked Machine's Name).
150148
type: string
151149
type: object
@@ -180,7 +178,6 @@ spec:
180178
the event) or if no container name is specified "spec.containers[2]" (container with
181179
index 2 in this pod). This syntax is chosen only to have some well-defined way of
182180
referencing a part of an object.
183-
TODO: this design is not final and this field is subject to change in the future.
184181
type: string
185182
kind:
186183
description: |-
@@ -247,12 +244,10 @@ spec:
247244
description: |-
248245
Change rollout strategy.
249246
250-
251247
Supported strategies:
252248
* "RollingUpdate".
253249
* "OnDelete"
254250
255-
256251
Default is RollingUpdate.
257252
type: string
258253
type: object

config/manager/manager.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,13 @@ spec:
4747
requests:
4848
cpu: 100m
4949
memory: 128Mi
50+
securityContext:
51+
allowPrivilegeEscalation: false
52+
capabilities:
53+
drop:
54+
- ALL
55+
privileged: false
56+
runAsUser: 65532
57+
runAsGroup: 65532
58+
terminationMessagePolicy: FallbackToLogsOnError
5059
terminationGracePeriodSeconds: 10

config/rbac/role.yaml

Lines changed: 18 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -5,33 +5,32 @@ metadata:
55
name: manager-role
66
rules:
77
- apiGroups:
8-
- bootstrap.cluster.x-k8s.io
9-
- controlplane.cluster.x-k8s.io
10-
- infrastructure.cluster.x-k8s.io
8+
- ""
119
resources:
12-
- '*'
10+
- events
1311
verbs:
1412
- create
15-
- delete
1613
- get
1714
- list
1815
- patch
19-
- update
2016
- watch
2117
- apiGroups:
22-
- cluster.x-k8s.io
18+
- ""
2319
resources:
24-
- clusters
25-
- clusters/status
20+
- secrets
2621
verbs:
22+
- create
2723
- get
2824
- list
25+
- patch
26+
- update
2927
- watch
3028
- apiGroups:
31-
- cluster.x-k8s.io
29+
- bootstrap.cluster.x-k8s.io
30+
- controlplane.cluster.x-k8s.io
31+
- infrastructure.cluster.x-k8s.io
3232
resources:
33-
- machines
34-
- machines/status
33+
- '*'
3534
verbs:
3635
- create
3736
- delete
@@ -41,21 +40,22 @@ rules:
4140
- update
4241
- watch
4342
- apiGroups:
44-
- ""
43+
- cluster.x-k8s.io
4544
resources:
46-
- events
45+
- clusters
46+
- clusters/status
4747
verbs:
48-
- create
4948
- get
5049
- list
51-
- patch
5250
- watch
5351
- apiGroups:
54-
- ""
52+
- cluster.x-k8s.io
5553
resources:
56-
- secrets
54+
- machines
55+
- machines/status
5756
verbs:
5857
- create
58+
- delete
5959
- get
6060
- list
6161
- patch
@@ -81,14 +81,6 @@ rules:
8181
- rbac
8282
resources:
8383
- rolebindings
84-
verbs:
85-
- create
86-
- get
87-
- list
88-
- watch
89-
- apiGroups:
90-
- rbac
91-
resources:
9284
- roles
9385
verbs:
9486
- create

0 commit comments

Comments
 (0)