diff --git a/Makefile b/Makefile index f40b4c2..9d8c219 100644 --- a/Makefile +++ b/Makefile @@ -14,11 +14,11 @@ .PHONY: test build container push clean PROJECT_DIR=/app -REGISTRY_NAME=yandex-cloud +REGISTRY_NAME=cr.yandex/crp9ftr22d26age3hulg IMAGE_NAME=csi-s3 -VERSION ?= dev +VERSION ?= 0.24.1 IMAGE_TAG=$(REGISTRY_NAME)/$(IMAGE_NAME):$(VERSION) -TEST_IMAGE_TAG=$(REGISTRY_NAME)/$(IMAGE_NAME):test +TEST_IMAGE_TAG=$(IMAGE_NAME):test build: CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' -o _output/s3driver ./cmd/s3driver diff --git a/deploy/kubernetes/csi-s3.yaml b/deploy/kubernetes/csi-s3.yaml index cbd8d02..577a7cc 100644 --- a/deploy/kubernetes/csi-s3.yaml +++ b/deploy/kubernetes/csi-s3.yaml @@ -81,7 +81,7 @@ spec: capabilities: add: ["SYS_ADMIN"] allowPrivilegeEscalation: true - image: csi-s3 + image: cr.yandex/crp9ftr22d26age3hulg/csi-s3:0.24.1 imagePullPolicy: IfNotPresent args: - "--endpoint=$(CSI_ENDPOINT)" diff --git a/deploy/kubernetes/provisioner.yaml b/deploy/kubernetes/provisioner.yaml index 0e216a2..d8145d2 100644 --- a/deploy/kubernetes/provisioner.yaml +++ b/deploy/kubernetes/provisioner.yaml @@ -86,7 +86,7 @@ spec: - name: socket-dir mountPath: /var/lib/kubelet/plugins/ru.yandex.s3.csi - name: csi-s3 - image: csi-s3 + image: cr.yandex/crp9ftr22d26age3hulg/csi-s3:0.24.1 imagePullPolicy: IfNotPresent args: - "--endpoint=$(CSI_ENDPOINT)"