Skip to content

Commit f3a9cab

Browse files
✨ feat: Upgrade controller-gen from v0.18.0 to v0.19.0 (#5064)
feat: Upgrade controller-gen from v0.18.0 to v0.19.0
1 parent fb25bef commit f3a9cab

File tree

41 files changed

+56
-56
lines changed

Some content is hidden

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

41 files changed

+56
-56
lines changed

docs/book/install-and-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ curl -fL -o /tmp/mdbook.${ext} "${MDBOOK_URL}"
7777
${cmd} /tmp/mdbook.${ext}
7878
chmod +x /tmp/mdbook
7979

80-
CONTROLLER_GEN_VERSION="v0.18.0"
80+
CONTROLLER_GEN_VERSION="v0.19.0"
8181

8282
echo "grabbing the controller-gen version: ${CONTROLLER_GEN_VERSION}"
8383
go version

docs/book/src/cronjob-tutorial/testdata/project/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ GOLANGCI_LINT = $(LOCALBIN)/golangci-lint
190190

191191
## Tool Versions
192192
KUSTOMIZE_VERSION ?= v5.6.0
193-
CONTROLLER_TOOLS_VERSION ?= v0.18.0
193+
CONTROLLER_TOOLS_VERSION ?= v0.19.0
194194
#ENVTEST_VERSION is the version of controller-runtime release branch to fetch the envtest setup script (i.e. release-0.20)
195195
ENVTEST_VERSION ?= $(shell go list -m -f "{{ .Version }}" sigs.k8s.io/controller-runtime | awk -F'[v.]' '{printf "release-%d.%d", $$2, $$3}')
196196
#ENVTEST_K8S_VERSION is the version of Kubernetes to use for setting up ENVTEST binaries (i.e. 1.31)

docs/book/src/cronjob-tutorial/testdata/project/config/crd/bases/batch.tutorial.kubebuilder.io_cronjobs.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.18.0
6+
controller-gen.kubebuilder.io/version: v0.19.0
77
name: cronjobs.batch.tutorial.kubebuilder.io
88
spec:
99
group: batch.tutorial.kubebuilder.io

docs/book/src/cronjob-tutorial/testdata/project/dist/chart/templates/crd/batch.tutorial.kubebuilder.io_cronjobs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ metadata:
99
{{- if .Values.crd.keep }}
1010
"helm.sh/resource-policy": keep
1111
{{- end }}
12-
controller-gen.kubebuilder.io/version: v0.18.0
12+
controller-gen.kubebuilder.io/version: v0.19.0
1313
name: cronjobs.batch.tutorial.kubebuilder.io
1414
spec:
1515
group: batch.tutorial.kubebuilder.io

docs/book/src/cronjob-tutorial/testdata/project/dist/install.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ apiVersion: apiextensions.k8s.io/v1
1111
kind: CustomResourceDefinition
1212
metadata:
1313
annotations:
14-
controller-gen.kubebuilder.io/version: v0.18.0
14+
controller-gen.kubebuilder.io/version: v0.19.0
1515
name: cronjobs.batch.tutorial.kubebuilder.io
1616
spec:
1717
group: batch.tutorial.kubebuilder.io

docs/book/src/getting-started/testdata/project/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ GOLANGCI_LINT = $(LOCALBIN)/golangci-lint
186186

187187
## Tool Versions
188188
KUSTOMIZE_VERSION ?= v5.6.0
189-
CONTROLLER_TOOLS_VERSION ?= v0.18.0
189+
CONTROLLER_TOOLS_VERSION ?= v0.19.0
190190
#ENVTEST_VERSION is the version of controller-runtime release branch to fetch the envtest setup script (i.e. release-0.20)
191191
ENVTEST_VERSION ?= $(shell go list -m -f "{{ .Version }}" sigs.k8s.io/controller-runtime | awk -F'[v.]' '{printf "release-%d.%d", $$2, $$3}')
192192
#ENVTEST_K8S_VERSION is the version of Kubernetes to use for setting up ENVTEST binaries (i.e. 1.31)

docs/book/src/getting-started/testdata/project/config/crd/bases/cache.example.com_memcacheds.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.18.0
6+
controller-gen.kubebuilder.io/version: v0.19.0
77
name: memcacheds.cache.example.com
88
spec:
99
group: cache.example.com

docs/book/src/getting-started/testdata/project/dist/chart/templates/crd/cache.example.com_memcacheds.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ metadata:
99
{{- if .Values.crd.keep }}
1010
"helm.sh/resource-policy": keep
1111
{{- end }}
12-
controller-gen.kubebuilder.io/version: v0.18.0
12+
controller-gen.kubebuilder.io/version: v0.19.0
1313
name: memcacheds.cache.example.com
1414
spec:
1515
group: cache.example.com

docs/book/src/getting-started/testdata/project/dist/install.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ apiVersion: apiextensions.k8s.io/v1
1111
kind: CustomResourceDefinition
1212
metadata:
1313
annotations:
14-
controller-gen.kubebuilder.io/version: v0.18.0
14+
controller-gen.kubebuilder.io/version: v0.19.0
1515
name: memcacheds.cache.example.com
1616
spec:
1717
group: cache.example.com

docs/book/src/multiversion-tutorial/testdata/project/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ GOLANGCI_LINT = $(LOCALBIN)/golangci-lint
190190

191191
## Tool Versions
192192
KUSTOMIZE_VERSION ?= v5.6.0
193-
CONTROLLER_TOOLS_VERSION ?= v0.18.0
193+
CONTROLLER_TOOLS_VERSION ?= v0.19.0
194194
#ENVTEST_VERSION is the version of controller-runtime release branch to fetch the envtest setup script (i.e. release-0.20)
195195
ENVTEST_VERSION ?= $(shell go list -m -f "{{ .Version }}" sigs.k8s.io/controller-runtime | awk -F'[v.]' '{printf "release-%d.%d", $$2, $$3}')
196196
#ENVTEST_K8S_VERSION is the version of Kubernetes to use for setting up ENVTEST binaries (i.e. 1.31)

0 commit comments

Comments
 (0)