Skip to content

Commit fe8c214

Browse files
authored
Merge pull request #203 from andyzhangx/rename-driver-image
chore: rename driver image
2 parents cd4e4e4 + 1ec68fa commit fe8c214

File tree

6 files changed

+20
-20
lines changed

6 files changed

+20
-20
lines changed

Makefile

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ PKG = sigs.k8s.io/blobfuse-csi-driver
1616
GIT_COMMIT ?= $(shell git rev-parse HEAD)
1717
REGISTRY ?= andyzhangx
1818
REGISTRY_NAME ?= $(shell echo $(REGISTRY) | sed "s/.azurecr.io//g")
19-
IMAGE_NAME ?= blobfuse-csi
19+
IMAGE_NAME ?= blob-csi
2020
IMAGE_VERSION ?= v0.7.0
2121
# Use a custom version for E2E tests if we are in Prow
2222
ifdef CI
@@ -35,7 +35,7 @@ GOBIN ?= $(GOPATH)/bin
3535
DOCKER_CLI_EXPERIMENTAL = enabled
3636
export GOPATH GOBIN GO111MODULE DOCKER_CLI_EXPERIMENTAL
3737

38-
all: blobfuse
38+
all: blob
3939

4040
.PHONY: verify
4141
verify: unit-test
@@ -46,11 +46,11 @@ unit-test:
4646
go test -covermode=count -coverprofile=profile.cov ./pkg/... ./test/utils/credentials
4747

4848
.PHONY: sanity-test
49-
sanity-test: blobfuse
49+
sanity-test: blob
5050
go test -v -timeout=30m ./test/sanity
5151

5252
.PHONY: integration-test
53-
integration-test: blobfuse
53+
integration-test: blob
5454
go test -v -timeout=30m ./test/integration
5555

5656
.PHONY: e2e-test
@@ -60,7 +60,7 @@ e2e-test:
6060
.PHONY: e2e-bootstrap
6161
e2e-bootstrap: install-helm
6262
# Only build and push the image if it does not exist in the registry
63-
docker pull $(IMAGE_TAG) || make blobfuse-container push
63+
docker pull $(IMAGE_TAG) || make blob-container push
6464
helm install charts/latest/blobfuse-csi-driver -n blobfuse-csi-driver --namespace kube-system --wait \
6565
--set image.blobfuse.pullPolicy=IfNotPresent \
6666
--set image.blobfuse.repository=$(REGISTRY)/$(IMAGE_NAME) \
@@ -78,20 +78,20 @@ install-helm:
7878
e2e-teardown:
7979
helm delete --purge blobfuse-csi-driver
8080

81-
.PHONY: blobfuse
82-
blobfuse:
81+
.PHONY: blob
82+
blob:
8383
CGO_ENABLED=0 GOOS=linux go build -a -ldflags ${LDFLAGS} -o _output/blobplugin ./pkg/blobplugin
8484

85-
.PHONY: blobfuse-windows
86-
blobfuse-windows:
85+
.PHONY: blob-windows
86+
blob-windows:
8787
CGO_ENABLED=0 GOOS=windows go build -a -ldflags ${LDFLAGS} -o _output/blobplugin.exe ./pkg/blobplugin
8888

8989
.PHONY: container
90-
container: blobfuse
90+
container: blob
9191
docker build --no-cache -t $(IMAGE_TAG) -f ./pkg/blobplugin/dev.Dockerfile .
9292

93-
.PHONY: blobfuse-container
94-
blobfuse-container:
93+
.PHONY: blob-container
94+
blob-container:
9595
docker buildx rm container-builder || true
9696
docker buildx create --use --name=container-builder
9797
ifdef CI
@@ -122,7 +122,7 @@ else
122122
endif
123123

124124
.PHONY: build-push
125-
build-push: blobfuse-container
125+
build-push: blob-container
126126
docker tag $(IMAGE_TAG) $(IMAGE_TAG_LATEST)
127127
docker push $(IMAGE_TAG_LATEST)
128128

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v1
22
appVersion: latest
3-
description: BlobFuse Container Storage Interface (CSI) Storage Plugin
3+
description: Azure Blob Storage CSI driver
44
name: blobfuse-csi-driver
55
version: latest

charts/latest/blobfuse-csi-driver/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
image:
22
blobfuse:
3-
repository: mcr.microsoft.com/k8s/csi/blobfuse-csi
3+
repository: mcr.microsoft.com/k8s/csi/blob-csi
44
tag: latest
55
pullPolicy: IfNotPresent
66
csiProvisioner:

deploy/csi-blob-controller.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ spec:
8282
cpu: 10m
8383
memory: 20Mi
8484
- name: blob
85-
image: mcr.microsoft.com/k8s/csi/blobfuse-csi:latest
85+
image: mcr.microsoft.com/k8s/csi/blob-csi:latest
8686
imagePullPolicy: IfNotPresent
8787
args:
8888
- "--v=5"

deploy/csi-blob-node.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ spec:
6666
cpu: 10m
6767
memory: 20Mi
6868
- name: blob
69-
image: mcr.microsoft.com/k8s/csi/blobfuse-csi:latest
69+
image: mcr.microsoft.com/k8s/csi/blob-csi:latest
7070
imagePullPolicy: IfNotPresent
7171
args:
7272
- "--v=5"

hack/release-image.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ fi
2323

2424
export REGISTRY_NAME="$1"
2525
export REGISTRY=$REGISTRY_NAME.azurecr.io
26-
export IMAGE_NAME=public/k8s/csi/blobfuse-csi
26+
export IMAGE_NAME=public/k8s/csi/blob-csi
2727
export CI=1
2828
export PUBLISH=1
2929
az acr login --name $REGISTRY_NAME
30-
make blobfuse-container
30+
make blob-container
3131
make push
3232
make push-latest
3333

3434
echo "sleep 60s ..."
3535
sleep 60
36-
image="mcr.microsoft.com/k8s/csi/blobfuse-csi:latest"
36+
image="mcr.microsoft.com/k8s/csi/blob-csi:latest"
3737
docker pull $image
3838
docker inspect $image | grep Created

0 commit comments

Comments
 (0)