Skip to content

Commit ff257cb

Browse files
committed
operator: move to controller-tools v0.16.1
Signed-off-by: Mikko Ylinen <[email protected]>
1 parent 49db09e commit ff257cb

13 files changed

+26
-175
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ BUILDER ?= "docker"
99
EXTRA_BUILD_ARGS ?= ""
1010

1111
CERT_MANAGER_VERSION ?= v1.15.2
12-
CONTROLLER_GEN_VERSION ?= v0.14.0
12+
CONTROLLER_GEN_VERSION ?= v0.16.1
1313
GOLANGCI_LINT_VERSION ?= v1.57.2
1414
KIND_VERSION ?= v0.23.0
1515
GOLICENSES_VERSION ?= v1.6.0

deployments/fpga_admissionwebhook/crd/bases/fpga.intel.com_acceleratorfunctions.yaml

+1-1
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.1
77
name: acceleratorfunctions.fpga.intel.com
88
spec:
99
group: fpga.intel.com

deployments/fpga_admissionwebhook/crd/bases/fpga.intel.com_fpgaregions.yaml

+1-1
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.1
77
name: fpgaregions.fpga.intel.com
88
spec:
99
group: fpga.intel.com

deployments/operator/crd/bases/deviceplugin.intel.com_dlbdeviceplugins.yaml

+1-2
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.1
77
name: dlbdeviceplugins.deviceplugin.intel.com
88
spec:
99
group: deviceplugin.intel.com
@@ -133,7 +133,6 @@ spec:
133133
the event) or if no container name is specified "spec.containers[2]" (container with
134134
index 2 in this pod). This syntax is chosen only to have some well-defined way of
135135
referencing a part of an object.
136-
TODO: this design is not final and this field is subject to change in the future.
137136
type: string
138137
kind:
139138
description: |-

deployments/operator/crd/bases/deviceplugin.intel.com_dsadeviceplugins.yaml

+1-2
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.1
77
name: dsadeviceplugins.deviceplugin.intel.com
88
spec:
99
group: deviceplugin.intel.com
@@ -143,7 +143,6 @@ spec:
143143
the event) or if no container name is specified "spec.containers[2]" (container with
144144
index 2 in this pod). This syntax is chosen only to have some well-defined way of
145145
referencing a part of an object.
146-
TODO: this design is not final and this field is subject to change in the future.
147146
type: string
148147
kind:
149148
description: |-

deployments/operator/crd/bases/deviceplugin.intel.com_fpgadeviceplugins.yaml

+1-2
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.1
77
name: fpgadeviceplugins.deviceplugin.intel.com
88
spec:
99
group: deviceplugin.intel.com
@@ -140,7 +140,6 @@ spec:
140140
the event) or if no container name is specified "spec.containers[2]" (container with
141141
index 2 in this pod). This syntax is chosen only to have some well-defined way of
142142
referencing a part of an object.
143-
TODO: this design is not final and this field is subject to change in the future.
144143
type: string
145144
kind:
146145
description: |-

deployments/operator/crd/bases/deviceplugin.intel.com_gpudeviceplugins.yaml

+2-5
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.1
77
name: gpudeviceplugins.deviceplugin.intel.com
88
spec:
99
group: deviceplugin.intel.com
@@ -139,9 +139,7 @@ spec:
139139
type: array
140140
type: object
141141
status:
142-
description: |-
143-
GpuDevicePluginStatus defines the observed state of GpuDevicePlugin.
144-
TODO(rojkov): consider code deduplication with QatDevicePluginStatus.
142+
description: GpuDevicePluginStatus defines the observed state of GpuDevicePlugin.
145143
properties:
146144
controlledDaemonSet:
147145
description: ControlledDaemoSet references the DaemonSet controlled
@@ -159,7 +157,6 @@ spec:
159157
the event) or if no container name is specified "spec.containers[2]" (container with
160158
index 2 in this pod). This syntax is chosen only to have some well-defined way of
161159
referencing a part of an object.
162-
TODO: this design is not final and this field is subject to change in the future.
163160
type: string
164161
kind:
165162
description: |-

deployments/operator/crd/bases/deviceplugin.intel.com_iaadeviceplugins.yaml

+1-2
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.1
77
name: iaadeviceplugins.deviceplugin.intel.com
88
spec:
99
group: deviceplugin.intel.com
@@ -142,7 +142,6 @@ spec:
142142
the event) or if no container name is specified "spec.containers[2]" (container with
143143
index 2 in this pod). This syntax is chosen only to have some well-defined way of
144144
referencing a part of an object.
145-
TODO: this design is not final and this field is subject to change in the future.
146145
type: string
147146
kind:
148147
description: |-

deployments/operator/crd/bases/deviceplugin.intel.com_qatdeviceplugins.yaml

+2-5
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.1
77
name: qatdeviceplugins.deviceplugin.intel.com
88
spec:
99
group: deviceplugin.intel.com
@@ -155,9 +155,7 @@ spec:
155155
type: array
156156
type: object
157157
status:
158-
description: |-
159-
QatDevicePluginStatus defines the observed state of QatDevicePlugin.
160-
TODO(rojkov): consider code deduplication with GpuDevicePluginStatus.
158+
description: QatDevicePluginStatus defines the observed state of QatDevicePlugin.
161159
properties:
162160
controlledDaemonSet:
163161
description: ControlledDaemoSet references the DaemonSet controlled
@@ -175,7 +173,6 @@ spec:
175173
the event) or if no container name is specified "spec.containers[2]" (container with
176174
index 2 in this pod). This syntax is chosen only to have some well-defined way of
177175
referencing a part of an object.
178-
TODO: this design is not final and this field is subject to change in the future.
179176
type: string
180177
kind:
181178
description: |-

deployments/operator/crd/bases/deviceplugin.intel.com_sgxdeviceplugins.yaml

+1-2
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.1
77
name: sgxdeviceplugins.deviceplugin.intel.com
88
spec:
99
group: deviceplugin.intel.com
@@ -144,7 +144,6 @@ spec:
144144
the event) or if no container name is specified "spec.containers[2]" (container with
145145
index 2 in this pod). This syntax is chosen only to have some well-defined way of
146146
referencing a part of an object.
147-
TODO: this design is not final and this field is subject to change in the future.
148147
type: string
149148
kind:
150149
description: |-

deployments/operator/crd/bases/fpga.intel.com_acceleratorfunctions.yaml

+1-1
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.1
77
name: acceleratorfunctions.fpga.intel.com
88
spec:
99
group: fpga.intel.com

deployments/operator/crd/bases/fpga.intel.com_fpgaregions.yaml

+1-1
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.1
77
name: fpgaregions.fpga.intel.com
88
spec:
99
group: fpga.intel.com

deployments/operator/rbac/role.yaml

+12-150
Original file line numberDiff line numberDiff line change
@@ -60,161 +60,11 @@ rules:
6060
- deviceplugin.intel.com
6161
resources:
6262
- dlbdeviceplugins
63-
verbs:
64-
- create
65-
- delete
66-
- get
67-
- list
68-
- patch
69-
- update
70-
- watch
71-
- apiGroups:
72-
- deviceplugin.intel.com
73-
resources:
74-
- dlbdeviceplugins/finalizers
75-
verbs:
76-
- update
77-
- apiGroups:
78-
- deviceplugin.intel.com
79-
resources:
80-
- dlbdeviceplugins/status
81-
verbs:
82-
- get
83-
- patch
84-
- update
85-
- apiGroups:
86-
- deviceplugin.intel.com
87-
resources:
8863
- dsadeviceplugins
89-
verbs:
90-
- create
91-
- delete
92-
- get
93-
- list
94-
- patch
95-
- update
96-
- watch
97-
- apiGroups:
98-
- deviceplugin.intel.com
99-
resources:
100-
- dsadeviceplugins/finalizers
101-
verbs:
102-
- update
103-
- apiGroups:
104-
- deviceplugin.intel.com
105-
resources:
106-
- dsadeviceplugins/status
107-
verbs:
108-
- get
109-
- patch
110-
- update
111-
- apiGroups:
112-
- deviceplugin.intel.com
113-
resources:
11464
- fpgadeviceplugins
115-
verbs:
116-
- create
117-
- delete
118-
- get
119-
- list
120-
- patch
121-
- update
122-
- watch
123-
- apiGroups:
124-
- deviceplugin.intel.com
125-
resources:
126-
- fpgadeviceplugins/finalizers
127-
verbs:
128-
- update
129-
- apiGroups:
130-
- deviceplugin.intel.com
131-
resources:
132-
- fpgadeviceplugins/status
133-
verbs:
134-
- get
135-
- patch
136-
- update
137-
- apiGroups:
138-
- deviceplugin.intel.com
139-
resources:
14065
- gpudeviceplugins
141-
verbs:
142-
- create
143-
- delete
144-
- get
145-
- list
146-
- patch
147-
- update
148-
- watch
149-
- apiGroups:
150-
- deviceplugin.intel.com
151-
resources:
152-
- gpudeviceplugins/finalizers
153-
verbs:
154-
- update
155-
- apiGroups:
156-
- deviceplugin.intel.com
157-
resources:
158-
- gpudeviceplugins/status
159-
verbs:
160-
- get
161-
- patch
162-
- update
163-
- apiGroups:
164-
- deviceplugin.intel.com
165-
resources:
16666
- iaadeviceplugins
167-
verbs:
168-
- create
169-
- delete
170-
- get
171-
- list
172-
- patch
173-
- update
174-
- watch
175-
- apiGroups:
176-
- deviceplugin.intel.com
177-
resources:
178-
- iaadeviceplugins/finalizers
179-
verbs:
180-
- update
181-
- apiGroups:
182-
- deviceplugin.intel.com
183-
resources:
184-
- iaadeviceplugins/status
185-
verbs:
186-
- get
187-
- patch
188-
- update
189-
- apiGroups:
190-
- deviceplugin.intel.com
191-
resources:
19267
- qatdeviceplugins
193-
verbs:
194-
- create
195-
- delete
196-
- get
197-
- list
198-
- patch
199-
- update
200-
- watch
201-
- apiGroups:
202-
- deviceplugin.intel.com
203-
resources:
204-
- qatdeviceplugins/finalizers
205-
verbs:
206-
- update
207-
- apiGroups:
208-
- deviceplugin.intel.com
209-
resources:
210-
- qatdeviceplugins/status
211-
verbs:
212-
- get
213-
- patch
214-
- update
215-
- apiGroups:
216-
- deviceplugin.intel.com
217-
resources:
21868
- sgxdeviceplugins
21969
verbs:
22070
- create
@@ -227,12 +77,24 @@ rules:
22777
- apiGroups:
22878
- deviceplugin.intel.com
22979
resources:
80+
- dlbdeviceplugins/finalizers
81+
- dsadeviceplugins/finalizers
82+
- fpgadeviceplugins/finalizers
83+
- gpudeviceplugins/finalizers
84+
- iaadeviceplugins/finalizers
85+
- qatdeviceplugins/finalizers
23086
- sgxdeviceplugins/finalizers
23187
verbs:
23288
- update
23389
- apiGroups:
23490
- deviceplugin.intel.com
23591
resources:
92+
- dlbdeviceplugins/status
93+
- dsadeviceplugins/status
94+
- fpgadeviceplugins/status
95+
- gpudeviceplugins/status
96+
- iaadeviceplugins/status
97+
- qatdeviceplugins/status
23698
- sgxdeviceplugins/status
23799
verbs:
238100
- get

0 commit comments

Comments
 (0)