[WIP] More work implementing create/delete volume and publish/unpublish volume

This commit is contained in:
2024-09-29 10:37:55 -04:00
parent c98b421b03
commit b9f2259674
17 changed files with 225 additions and 85 deletions

View File

@@ -1,5 +1,5 @@
# Image URL to use all building/pushing image targets
IMG ?= csi:latest
IMG ?= registry.millslan.net/p5x-csi:latest
# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
ifeq (,$(shell go env GOBIN))
@@ -40,10 +40,10 @@ build: fmt vet ## Build manager binary.
run: fmt vet ## Run a csi driver from your host.
go run ./main.go
.PHONY: docker-build
docker-build: test ## Build docker image with the manager.
.PHONY: image
image: Dockerfile build ## Build docker image with the manager.
docker build -t ${IMG} .
.PHONY: docker-push
docker-push: ## Push docker image with the manager.
.PHONY: push
push: ## Push docker image with the manager.
docker push ${IMG}