Skip to content

Commit 0d240ac

Browse files
committed
Merge branch 'master' into finlizer_fix
2 parents 892376d + 8f28571 commit 0d240ac

File tree

70 files changed

+121
-153
lines changed

Some content is hidden

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

70 files changed

+121
-153
lines changed

.github/workflows/lint-sample.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ jobs:
3636
working-directory: ${{ matrix.folder }}
3737
run: make lint-config
3838
- name: Run linter
39-
uses: golangci/golangci-lint-action@v7
39+
uses: golangci/golangci-lint-action@v8
4040
with:
41-
version: v2.0.2
41+
version: v2.1.0
4242
working-directory: ${{ matrix.folder }}
4343
args: --config .golangci.yml ./...
4444
- name: Run linter via makefile target

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424
- name: Check linter configuration
2525
run: make lint-config
2626
- name: Run linter
27-
uses: golangci/golangci-lint-action@v7
27+
uses: golangci/golangci-lint-action@v8
2828
with:
29-
version: v2.0.2
29+
version: v2.1.0
3030

3131
yamllint:
3232
runs-on: ubuntu-latest

CONTRIBUTING.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,8 @@ To manually setup run:
8080
```shell
8181
# To generate an Kubebuilder local binary with your changes
8282
make install
83-
# To create the cluster and configure a CNI which supports NetworkPolicy
83+
# To create the cluster
8484
kind create cluster --config ./test/e2e/kind-config.yaml
85-
kubectl apply -f https://docs.projectcalico.org/manifests/calico.yaml
8685
```
8786

8887
Now, you can for example, run in debug mode the `test/e2e/v4/e2e_suite_test.go`:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ yamllint:
127127
GOLANGCI_LINT = $(shell pwd)/bin/golangci-lint
128128
golangci-lint:
129129
@[ -f $(GOLANGCI_LINT) ] || { \
130-
GOBIN=$(shell pwd)/bin go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.0.2 ;\
130+
GOBIN=$(shell pwd)/bin go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.1.0 ;\
131131
}
132132

133133
.PHONY: apidiff

docs/book/src/cronjob-tutorial/testdata/project/.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ jobs:
1818
go-version-file: go.mod
1919

2020
- name: Run linter
21-
uses: golangci/golangci-lint-action@v7
21+
uses: golangci/golangci-lint-action@v8
2222
with:
23-
version: v2.0.2
23+
version: v2.1.0

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,12 +184,12 @@ GOLANGCI_LINT = $(LOCALBIN)/golangci-lint
184184

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

194194
.PHONY: kustomize
195195
kustomize: $(KUSTOMIZE) ## Download kustomize locally if necessary.

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.17.3
6+
controller-gen.kubebuilder.io/version: v0.18.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.17.3
12+
controller-gen.kubebuilder.io/version: v0.18.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.17.3
14+
controller-gen.kubebuilder.io/version: v0.18.0
1515
name: cronjobs.batch.tutorial.kubebuilder.io
1616
spec:
1717
group: batch.tutorial.kubebuilder.io

docs/book/src/cronjob-tutorial/testdata/project/go.mod

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ module tutorial.kubebuilder.io/project
22

33
go 1.24.0
44

5-
godebug default=go1.24
6-
75
require (
86
github.com/onsi/ginkgo/v2 v2.22.0
97
github.com/onsi/gomega v1.36.1

0 commit comments

Comments
 (0)