tkestack / csi-operator Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Describe the bug
when I use make docker-build
command to build the image, some error occurred like below:
go generate ./pkg/... ./cmd/...
go fmt ./pkg/... ./cmd/...
go vet ./pkg/... ./cmd/...
files=$(find . -name '*.go' | egrep -v './vendor|zz_generated'); \
revive -config build/linter/revive.toml -formatter friendly $files
go: finding sigs.k8s.io/controller-tools/cmd/controller-gen latest
go: finding sigs.k8s.io/controller-tools/cmd latest
go: extracting sigs.k8s.io/controller-tools v0.2.3
controller-gen all
Error: unknown option "all"
Usage:
controller-gen [flags]
run `controller-gen all -w` to see all available markers, or `controller-gen all -h` for usage
make: *** [manifests] Error 1
# controller-gen --version
Version: v0.2.3
Environment
Describe the bug
I just follow the guide https://github.com/tkestack/csi-operator#build to build binaries, but on command make csi-operator
getting errors:
# make csi-operator
go: finding git.tencent.com/tke/csi-operator v0.0.0-20190805030922-5b84a5150d91
Username for 'https://git.tencent.com': ^C
it is because the unreachable address, just remove the first line in require section in go.mod
and re-run the command, the error log is below, looks like lack of appscode/jsonpatch
go fmt ./pkg/... ./cmd/...
build tkestack.io/csi-operator/cmd/csi-operator: cannot load github.com/appscode/jsonpatch: cannot find module providing package github.com/appscode/jsonpatch
make: *** [fmt] Error 1
root
Environment
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.