1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-15 17:50:49 +00:00

generate: update controller-gen to v0.11.3

Update controller-gen tool from sigs.k8s.io/controller-tools to the
latest release.

Also, bump goimports from golang.org/x/tools to the latest version.
This commit is contained in:
Markus Lehtonen 2023-04-19 10:00:38 +03:00
parent 6b85d9d66b
commit a5ec646c48
3 changed files with 6 additions and 6 deletions

View file

@ -3,10 +3,10 @@ FROM ${BUILDER_IMAGE} as builder
# Install tools # Install tools
RUN go install github.com/vektra/mockery/v2@v2.20.0 && \ RUN go install github.com/vektra/mockery/v2@v2.20.0 && \
go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.9.2 && \ go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.11.3 && \
git clone https://github.com/kubernetes/code-generator -b v0.27.1 --depth 1 && \ git clone https://github.com/kubernetes/code-generator -b v0.27.1 --depth 1 && \
go install k8s.io/code-generator/cmd/go-to-protobuf/...@v0.27.1 && \ go install k8s.io/code-generator/cmd/go-to-protobuf/...@v0.27.1 && \
go install golang.org/x/tools/cmd/goimports@v0.1.1 && \ go install golang.org/x/tools/cmd/goimports@v0.8.0 && \
go install github.com/golang/protobuf/protoc-gen-go@v1.4.3 go install github.com/golang/protobuf/protoc-gen-go@v1.4.3
RUN apt-get update && apt-get install unzip RUN apt-get update && apt-get install unzip

View file

@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.9.2 controller-gen.kubebuilder.io/version: v0.11.3
creationTimestamp: null creationTimestamp: null
name: nodefeatures.nfd.k8s-sigs.io name: nodefeatures.nfd.k8s-sigs.io
spec: spec:
@ -114,7 +114,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.9.2 controller-gen.kubebuilder.io/version: v0.11.3
creationTimestamp: null creationTimestamp: null
name: nodefeaturerules.nfd.k8s-sigs.io name: nodefeaturerules.nfd.k8s-sigs.io
spec: spec:

View file

@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.9.2 controller-gen.kubebuilder.io/version: v0.11.3
creationTimestamp: null creationTimestamp: null
name: nodefeatures.nfd.k8s-sigs.io name: nodefeatures.nfd.k8s-sigs.io
spec: spec:
@ -114,7 +114,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.9.2 controller-gen.kubebuilder.io/version: v0.11.3
creationTimestamp: null creationTimestamp: null
name: nodefeaturerules.nfd.k8s-sigs.io name: nodefeaturerules.nfd.k8s-sigs.io
spec: spec: