Operator to manage storage cluster in Kubernetes
git clone git@github.com:libopenstorage/operator.git
cd operator
make downloads all
Troubleshooting:
Do not modify $GOBIN
-- this build process depends on installing and using linter-tools (i.e. staticcheck
) from the default $GOPATH/bin
.
Q: I'm getting the following warning during the build:
WARNING: Tool /go/bin/my-linter-tool compiled with go1.20.10 (you are using go1.21.4)
A: To fix this, just remove the binary, and the build-process should automatically rebuild the tool using your current golang compiler.
Set environment variables
export DOCKER_HUB_REPO=<eg. mybuildx>
make container deploy