Refactor rbdplugin for CSI 0.2.0 spec

This commit is contained in:
Serguei Bezverkhi
2018-02-15 08:51:23 -05:00
parent 1f1e8cea37
commit de16b0f5e9
5 changed files with 12 additions and 156 deletions

View File

@ -14,8 +14,8 @@
.PHONY: all rbdplugin
IMAGE_NAME=csi_images/rbdplugin
IMAGE_VERSION=latest
IMAGE_NAME=quay.io/cephcsi/rbdplugin
IMAGE_VERSION=v0.2.0
all: rbdplugin
@ -25,7 +25,7 @@ test:
rbdplugin:
if [ ! -d ./vendor ]; then dep ensure; fi
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' -i -o _output/rbdplugin ./rbd
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' -o _output/rbdplugin ./rbd
container: rbdplugin
cp _output/rbdplugin deploy/docker