Skip to content

Commit a8655a3

Browse files
authored
Merge pull request #3323 from sbueringer/pr-bump-capi-cr-ct
⚠️ Bump to CAPI main, CR v0.20, CT v0.17, add PQ fg
2 parents d22a09d + e576884 commit a8655a3

File tree

45 files changed

+393
-296
lines changed

Some content is hidden

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

45 files changed

+393
-296
lines changed

.github/workflows/pr-golangci-lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ jobs:
3030
- name: golangci-lint
3131
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # tag=v6.1.1
3232
with:
33-
version: v1.59.0
33+
version: v1.60.2
3434
args: --out-format=colored-line-number
3535
working-directory: ${{matrix.working-directory}}

.golangci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
run:
22
timeout: 10m
3-
go: "1.22"
3+
go: "1.23"
44
skip-files:
55
- "zz_generated.*\\.go$"
66
- "_conversion\\.go$"
@@ -57,6 +57,10 @@ linters:
5757
- whitespace
5858

5959
linters-settings:
60+
gosec:
61+
excludes:
62+
# integer overflow conversion int -> int32
63+
- G115
6064
gci:
6165
sections:
6266
- standard # Standard section: captures all standard packages.
@@ -324,3 +328,6 @@ issues:
324328
- stylecheck
325329
text: ST1021|ST1020
326330
path: ^(apis/(v1alpha3|v1alpha4)\/.*)\.go$
331+
- linters:
332+
- govet
333+
text: "non-constant format string in call to sigs\\.k8s\\.io\\/cluster-api\\/util\\/conditions\\."

Makefile

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,14 @@ SHELL:=/usr/bin/env bash
2323
#
2424
# Go.
2525
#
26-
GO_VERSION ?= 1.22.10
27-
GO_DIRECTIVE_VERSION ?= 1.22.0
26+
GO_VERSION ?= 1.23.5
27+
GO_DIRECTIVE_VERSION ?= 1.23.5
2828
GO_CONTAINER_IMAGE ?= docker.io/library/golang:$(GO_VERSION)
2929

30+
# Ensure correct toolchain is used
31+
GOTOOLCHAIN = go$(GO_VERSION)
32+
export GOTOOLCHAIN
33+
3034
# Use GOPROXY environment variable if set
3135
GOPROXY := $(shell go env GOPROXY)
3236
ifeq ($(GOPROXY),)
@@ -105,12 +109,12 @@ KUSTOMIZE_BIN := kustomize
105109
KUSTOMIZE := $(abspath $(TOOLS_BIN_DIR)/$(KUSTOMIZE_BIN)-$(KUSTOMIZE_VER))
106110
KUSTOMIZE_PKG := sigs.k8s.io/kustomize/kustomize/v4
107111

108-
SETUP_ENVTEST_VER := release-0.19
112+
SETUP_ENVTEST_VER := release-0.20
109113
SETUP_ENVTEST_BIN := setup-envtest
110114
SETUP_ENVTEST := $(abspath $(TOOLS_BIN_DIR)/$(SETUP_ENVTEST_BIN)-$(SETUP_ENVTEST_VER))
111115
SETUP_ENVTEST_PKG := sigs.k8s.io/controller-runtime/tools/setup-envtest
112116

113-
CONTROLLER_GEN_VER := v0.16.3
117+
CONTROLLER_GEN_VER := v0.17.0
114118
CONTROLLER_GEN_BIN := controller-gen
115119
CONTROLLER_GEN := $(abspath $(TOOLS_BIN_DIR)/$(CONTROLLER_GEN_BIN)-$(CONTROLLER_GEN_VER))
116120
CONTROLLER_GEN_PKG := sigs.k8s.io/controller-tools/cmd/controller-gen
@@ -120,7 +124,7 @@ GOTESTSUM_BIN := gotestsum
120124
GOTESTSUM := $(abspath $(TOOLS_BIN_DIR)/$(GOTESTSUM_BIN)-$(GOTESTSUM_VER))
121125
GOTESTSUM_PKG := gotest.tools/gotestsum
122126

123-
CONVERSION_GEN_VER := v0.31.0
127+
CONVERSION_GEN_VER := v0.32.0
124128
CONVERSION_GEN_BIN := conversion-gen
125129
# We are intentionally using the binary without version suffix, to avoid the version
126130
# in generated files.

cloudbuild-nightly.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ options:
55
substitution_option: ALLOW_LOOSE
66
machineType: 'E2_HIGHCPU_8'
77
steps:
8-
- name: 'gcr.io/k8s-staging-test-infra/gcb-docker-gcloud@sha256:de53ba7cd20326776a00adb065430a8bb51beaf24876ffcbd4e8f71b74dbc22d' # v20240210-29014a6e3a
8+
- name: 'gcr.io/k8s-staging-test-infra/gcb-docker-gcloud@sha256:4e830b673791d5595719bc6c4ca62dce3746b4e20d749e45004254bc6ef0a140' # v20250116-2a05ea7e3d
99
entrypoint: make
1010
env:
1111
- DOCKER_CLI_EXPERIMENTAL=enabled

cloudbuild.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ options:
55
substitution_option: ALLOW_LOOSE
66
machineType: 'E2_HIGHCPU_8'
77
steps:
8-
- name: 'gcr.io/k8s-staging-test-infra/gcb-docker-gcloud@sha256:de53ba7cd20326776a00adb065430a8bb51beaf24876ffcbd4e8f71b74dbc22d' # v20240210-29014a6e3a
8+
- name: 'gcr.io/k8s-staging-test-infra/gcb-docker-gcloud@sha256:4e830b673791d5595719bc6c4ca62dce3746b4e20d749e45004254bc6ef0a140' # v20250116-2a05ea7e3d
99
entrypoint: make
1010
env:
1111
- DOCKER_CLI_EXPERIMENTAL=enabled

config/default/crd/bases/infrastructure.cluster.x-k8s.io_vsphereclusteridentities.yaml

Lines changed: 1 addition & 1 deletion
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.16.3
6+
controller-gen.kubebuilder.io/version: v0.17.0
77
name: vsphereclusteridentities.infrastructure.cluster.x-k8s.io
88
spec:
99
group: infrastructure.cluster.x-k8s.io

config/default/crd/bases/infrastructure.cluster.x-k8s.io_vsphereclusters.yaml

Lines changed: 1 addition & 1 deletion
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.16.3
6+
controller-gen.kubebuilder.io/version: v0.17.0
77
name: vsphereclusters.infrastructure.cluster.x-k8s.io
88
spec:
99
group: infrastructure.cluster.x-k8s.io

config/default/crd/bases/infrastructure.cluster.x-k8s.io_vsphereclustertemplates.yaml

Lines changed: 1 addition & 1 deletion
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.16.3
6+
controller-gen.kubebuilder.io/version: v0.17.0
77
name: vsphereclustertemplates.infrastructure.cluster.x-k8s.io
88
spec:
99
group: infrastructure.cluster.x-k8s.io

config/default/crd/bases/infrastructure.cluster.x-k8s.io_vspheredeploymentzones.yaml

Lines changed: 1 addition & 1 deletion
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.16.3
6+
controller-gen.kubebuilder.io/version: v0.17.0
77
name: vspheredeploymentzones.infrastructure.cluster.x-k8s.io
88
spec:
99
group: infrastructure.cluster.x-k8s.io

config/default/crd/bases/infrastructure.cluster.x-k8s.io_vspherefailuredomains.yaml

Lines changed: 1 addition & 1 deletion
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.16.3
6+
controller-gen.kubebuilder.io/version: v0.17.0
77
name: vspherefailuredomains.infrastructure.cluster.x-k8s.io
88
spec:
99
group: infrastructure.cluster.x-k8s.io

0 commit comments

Comments
 (0)