Skip to content

Commit 7cc1fca

Browse files
committed
Bumping to go@1.22 and rhel-9.5.
Also bumping the api and client dependencies. Signed-off-by: Yoni Bettan <yonibettan@gmail.com>
1 parent 05cb719 commit 7cc1fca

2,697 files changed

Lines changed: 162147 additions & 76641 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- if: matrix.language == 'go'
4444
uses: actions/setup-go@v4
4545
with:
46-
go-version: '1.21'
46+
go-version: '1.22'
4747

4848
# Initializes the CodeQL tools for scanning.
4949
- name: Initialize CodeQL

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ ARG TARGET
2727
RUN git config --global --add safe.directory ${PWD}
2828
RUN make ${TARGET}
2929

30-
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.4
30+
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.5
3131

3232
ARG TARGET
3333

Dockerfile.must-gather

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM quay.io/openshift/origin-cli:4.20 as builder
22

3-
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.4
3+
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.5
44

55
RUN microdnf update -y \
66
&& microdnf install -y tar rsync findutils gzip iproute util-linux shadow-utils \

Dockerfile.signimage

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.4 as ksource
1+
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.5 as ksource
22

33
# install the package that will contain the sign utilities
44
RUN microdnf update -y && \
55
microdnf install -y kernel-devel && \
66
microdnf clean all
77

8-
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.4
8+
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.5
99

1010
COPY --from=ksource /usr/src/kernels/*/scripts/sign-file /usr/local/bin/
1111

Dockerfile.webhook

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ COPY .git .git
2525
RUN git config --global --add safe.directory ${PWD}
2626
RUN make webhook-server
2727

28-
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.4
28+
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.5
2929

3030
COPY --from=builder /opt/app-root/src/webhook-server /usr/local/bin/webhook-server
3131

Dockerfile.worker

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ COPY .git .git
2424
RUN git config --global --add safe.directory ${PWD}
2525
RUN ["make", "worker"]
2626

27-
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.4
27+
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.5
2828

2929
RUN microdnf update -y && \
3030
microdnf install -y kmod shadow-utils && \

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ undeploy-hub: ## Undeploy controller from the K8s cluster specified in ~/.kube/c
238238
CONTROLLER_GEN = $(shell pwd)/bin/controller-gen
239239
.PHONY: controller-gen
240240
controller-gen: ## Download controller-gen locally if necessary.
241-
$(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@v0.14.0)
241+
$(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@v0.16.1)
242242

243243
GOLANGCI_LINT = $(shell pwd)/bin/golangci-lint
244244
.PHONY: golangci-lint

bundle-hub/manifests/hub.kmm.sigs.x-k8s.io_managedclustermodules.yaml

Lines changed: 188 additions & 52 deletions
Large diffs are not rendered by default.

bundle-hub/manifests/kernel-module-management-hub.clusterserviceversion.yaml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ metadata:
3737
}
3838
]
3939
capabilities: Basic Install
40-
createdAt: "2024-09-08T06:59:15Z"
40+
createdAt: "2024-11-27T11:44:06Z"
4141
operatorframework.io/suggested-namespace: openshift-kmm-hub
4242
operators.operatorframework.io/builder: operator-sdk-v1.32.0
4343
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
@@ -108,21 +108,7 @@ spec:
108108
- ""
109109
resources:
110110
- nodes
111-
verbs:
112-
- get
113-
- list
114-
- watch
115-
- apiGroups:
116-
- ""
117-
resources:
118111
- secrets
119-
verbs:
120-
- get
121-
- list
122-
- watch
123-
- apiGroups:
124-
- ""
125-
resources:
126112
- serviceaccounts
127113
verbs:
128114
- get

bundle/manifests/kernel-module-management.clusterserviceversion.yaml

Lines changed: 7 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ metadata:
6363
}
6464
]
6565
capabilities: Basic Install
66-
createdAt: "2024-09-08T06:59:14Z"
66+
createdAt: "2024-11-27T11:44:05Z"
6767
operatorframework.io/suggested-namespace: openshift-kmm
6868
operators.operatorframework.io/builder: operator-sdk-v1.32.0
6969
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
@@ -165,6 +165,7 @@ spec:
165165
- ""
166166
resources:
167167
- configmaps
168+
- pods
168169
verbs:
169170
- create
170171
- delete
@@ -176,42 +177,16 @@ spec:
176177
- ""
177178
resources:
178179
- namespaces
179-
verbs:
180-
- get
181-
- list
182-
- patch
183-
- watch
184-
- apiGroups:
185-
- ""
186-
resources:
187180
- nodes
188181
verbs:
189182
- get
190183
- list
191184
- patch
192185
- watch
193-
- apiGroups:
194-
- ""
195-
resources:
196-
- pods
197-
verbs:
198-
- create
199-
- delete
200-
- get
201-
- list
202-
- patch
203-
- watch
204186
- apiGroups:
205187
- ""
206188
resources:
207189
- secrets
208-
verbs:
209-
- get
210-
- list
211-
- watch
212-
- apiGroups:
213-
- ""
214-
resources:
215190
- serviceaccounts
216191
verbs:
217192
- get
@@ -229,6 +204,8 @@ spec:
229204
- kmm.sigs.x-k8s.io
230205
resources:
231206
- modules
207+
- preflightvalidations/status
208+
- preflightvalidationsocp
232209
verbs:
233210
- get
234211
- list
@@ -239,12 +216,15 @@ spec:
239216
- kmm.sigs.x-k8s.io
240217
resources:
241218
- modules/finalizers
219+
- preflightvalidations/finalizers
220+
- preflightvalidationsocp/finalizers
242221
verbs:
243222
- update
244223
- apiGroups:
245224
- kmm.sigs.x-k8s.io
246225
resources:
247226
- modules/status
227+
- preflightvalidationsocp/status
248228
verbs:
249229
- get
250230
- patch
@@ -285,46 +265,6 @@ spec:
285265
- patch
286266
- update
287267
- watch
288-
- apiGroups:
289-
- kmm.sigs.x-k8s.io
290-
resources:
291-
- preflightvalidations/finalizers
292-
verbs:
293-
- update
294-
- apiGroups:
295-
- kmm.sigs.x-k8s.io
296-
resources:
297-
- preflightvalidations/status
298-
verbs:
299-
- get
300-
- list
301-
- patch
302-
- update
303-
- watch
304-
- apiGroups:
305-
- kmm.sigs.x-k8s.io
306-
resources:
307-
- preflightvalidationsocp
308-
verbs:
309-
- get
310-
- list
311-
- patch
312-
- update
313-
- watch
314-
- apiGroups:
315-
- kmm.sigs.x-k8s.io
316-
resources:
317-
- preflightvalidationsocp/finalizers
318-
verbs:
319-
- update
320-
- apiGroups:
321-
- kmm.sigs.x-k8s.io
322-
resources:
323-
- preflightvalidationsocp/status
324-
verbs:
325-
- get
326-
- patch
327-
- update
328268
- apiGroups:
329269
- authentication.k8s.io
330270
resources:

0 commit comments

Comments
 (0)