-
Notifications
You must be signed in to change notification settings - Fork 376
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Most notables changes: * we remove all uses of the io/ioutil package, which has been deprecated * gofmt now reformats doc comments (e.g., lists inside comment blocks), which is why some comments have been reformatted automatically * the codegen image has been updated to kubernetes-1.24.0-build.1 to include the updated version of Go. "go get: no longer builds or installs packages in module-aware mode, so "go get" has been replaced with "go install" in the Dockerfile. * we now use the version of Go from the root go.mod file when setting up Go in Github workflows. This will reduce the number of changes we have to do in the future when updating Go. * running "go mod tidy" with the updated Go version seems to have removed some stale entries from go.sum files. Signed-off-by: Antonin Bas <[email protected]>
- Loading branch information
1 parent
173ef52
commit 856679b
Showing
93 changed files
with
394 additions
and
694 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,18 +38,18 @@ ARG K8S_VERSION=1.24.0 | |
# correct K8s version). | ||
ARG KUBEOPENAPI_VERSION=v0.0.0-20220328201542-3ee0da9b0b42 | ||
|
||
RUN go get k8s.io/code-generator/cmd/client-gen@kubernetes-$K8S_VERSION && \ | ||
go get k8s.io/code-generator/cmd/deepcopy-gen@kubernetes-$K8S_VERSION && \ | ||
go get k8s.io/code-generator/cmd/conversion-gen@kubernetes-$K8S_VERSION && \ | ||
go get k8s.io/code-generator/cmd/lister-gen@kubernetes-$K8S_VERSION && \ | ||
go get k8s.io/code-generator/cmd/informer-gen@kubernetes-$K8S_VERSION && \ | ||
go get k8s.io/kube-openapi/cmd/openapi-gen@$KUBEOPENAPI_VERSION && \ | ||
go get k8s.io/code-generator/cmd/go-to-protobuf@kubernetes-$K8S_VERSION && \ | ||
go get k8s.io/code-generator/cmd/go-to-protobuf/protoc-gen-gogo@kubernetes-$K8S_VERSION && \ | ||
go get github.com/golang/mock/[email protected] && \ | ||
go get github.com/golang/protobuf/[email protected] && \ | ||
go get golang.org/x/tools/cmd/goimports && \ | ||
go get sigs.k8s.io/controller-tools/cmd/[email protected] | ||
RUN go install k8s.io/code-generator/cmd/client-gen@kubernetes-$K8S_VERSION && \ | ||
go install k8s.io/code-generator/cmd/deepcopy-gen@kubernetes-$K8S_VERSION && \ | ||
go install k8s.io/code-generator/cmd/conversion-gen@kubernetes-$K8S_VERSION && \ | ||
go install k8s.io/code-generator/cmd/lister-gen@kubernetes-$K8S_VERSION && \ | ||
go install k8s.io/code-generator/cmd/informer-gen@kubernetes-$K8S_VERSION && \ | ||
go install k8s.io/kube-openapi/cmd/openapi-gen@$KUBEOPENAPI_VERSION && \ | ||
go install k8s.io/code-generator/cmd/go-to-protobuf@kubernetes-$K8S_VERSION && \ | ||
go install k8s.io/code-generator/cmd/go-to-protobuf/protoc-gen-gogo@kubernetes-$K8S_VERSION && \ | ||
go install github.com/golang/mock/[email protected] && \ | ||
go install github.com/golang/protobuf/[email protected] && \ | ||
go install golang.org/x/tools/cmd/goimports@latest && \ | ||
go install sigs.k8s.io/controller-tools/cmd/[email protected] | ||
|
||
COPY --from=protoc /tmp/protoc/bin /usr/local/bin | ||
COPY --from=protoc /tmp/protoc/include /usr/local/include | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.17 | ||
1.19 |
Oops, something went wrong.