Giter VIP home page Giter VIP logo

csi-operator's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

csi-operator's Issues

Build errors on 'make docker-build'

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

  • OS: Linux VM_149_11_centos 3.10.107-1-tlinux2_kvm_guest-0049 #1 SMP Tue Jul 30 23:46:29 CST 2019 x86_64 x86_64 x86_64 GNU/Linux
  • golang: go version go1.12.4 linux/amd64
  • controller-gen: v0.2.3
    @mlmhl

Build error on "make csi-operator"

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

  • OS: Linux VM_149_11_centos 3.10.107-1-tlinux2_kvm_guest-0049 #1 SMP Tue Jul 30 23:46:29 CST 2019 x86_64 x86_64 x86_64 GNU/Linux
  • golang: go version go1.12.4 linux/amd64

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.