Rename CSI driver to ru.yandex.s3.csi

This commit is contained in:
Vitaliy Filippov 2021-07-27 13:05:32 +03:00
parent 46da5a7002
commit 49d7c3a488
7 changed files with 14 additions and 14 deletions

View file

@ -96,7 +96,7 @@ kind: StorageClass
apiVersion: storage.k8s.io/v1 apiVersion: storage.k8s.io/v1
metadata: metadata:
name: csi-s3-existing-bucket name: csi-s3-existing-bucket
provisioner: ch.ctrox.csi.s3-driver provisioner: ru.yandex.s3.csi
parameters: parameters:
mounter: rclone mounter: rclone
bucket: some-existing-bucket-name bucket: some-existing-bucket-name

View file

@ -81,13 +81,13 @@ spec:
- "--csi-address=$(ADDRESS)" - "--csi-address=$(ADDRESS)"
env: env:
- name: ADDRESS - name: ADDRESS
value: /var/lib/kubelet/plugins/ch.ctrox.csi.s3-driver/csi.sock value: /var/lib/kubelet/plugins/ru.yandex.s3.csi/csi.sock
imagePullPolicy: "IfNotPresent" imagePullPolicy: "IfNotPresent"
volumeMounts: volumeMounts:
- name: socket-dir - name: socket-dir
mountPath: /var/lib/kubelet/plugins/ch.ctrox.csi.s3-driver mountPath: /var/lib/kubelet/plugins/ru.yandex.s3.csi
volumes: volumes:
- name: socket-dir - name: socket-dir
hostPath: hostPath:
path: /var/lib/kubelet/plugins/ch.ctrox.csi.s3-driver path: /var/lib/kubelet/plugins/ru.yandex.s3.csi
type: DirectoryOrCreate type: DirectoryOrCreate

View file

@ -65,7 +65,7 @@ spec:
- name: ADDRESS - name: ADDRESS
value: /csi/csi.sock value: /csi/csi.sock
- name: DRIVER_REG_SOCK_PATH - name: DRIVER_REG_SOCK_PATH
value: /var/lib/kubelet/plugins/ch.ctrox.csi.s3-driver/csi.sock value: /var/lib/kubelet/plugins/ru.yandex.s3.csi/csi.sock
- name: KUBE_NODE_NAME - name: KUBE_NODE_NAME
valueFrom: valueFrom:
fieldRef: fieldRef:
@ -109,7 +109,7 @@ spec:
type: DirectoryOrCreate type: DirectoryOrCreate
- name: plugin-dir - name: plugin-dir
hostPath: hostPath:
path: /var/lib/kubelet/plugins/ch.ctrox.csi.s3-driver path: /var/lib/kubelet/plugins/ru.yandex.s3.csi
type: DirectoryOrCreate type: DirectoryOrCreate
- name: pods-mount-dir - name: pods-mount-dir
hostPath: hostPath:

View file

@ -16,7 +16,7 @@ spec:
namespace: default namespace: default
name: manualclaim name: manualclaim
csi: csi:
driver: ch.ctrox.csi.s3-driver driver: ru.yandex.s3.csi
controllerPublishSecretRef: controllerPublishSecretRef:
name: csi-s3-secret name: csi-s3-secret
namespace: kube-system namespace: kube-system

View file

@ -3,7 +3,7 @@ kind: StorageClass
apiVersion: storage.k8s.io/v1 apiVersion: storage.k8s.io/v1
metadata: metadata:
name: csi-s3 name: csi-s3
provisioner: ch.ctrox.csi.s3-driver provisioner: ru.yandex.s3.csi
parameters: parameters:
mounter: geesefs mounter: geesefs
# you can set mount options here, for example limit memory cache size (recommended) # you can set mount options here, for example limit memory cache size (recommended)

View file

@ -80,11 +80,11 @@ spec:
- "--v=4" - "--v=4"
env: env:
- name: ADDRESS - name: ADDRESS
value: /var/lib/kubelet/plugins/ch.ctrox.csi.s3-driver/csi.sock value: /var/lib/kubelet/plugins/ru.yandex.s3.csi/csi.sock
imagePullPolicy: "IfNotPresent" imagePullPolicy: "IfNotPresent"
volumeMounts: volumeMounts:
- name: socket-dir - name: socket-dir
mountPath: /var/lib/kubelet/plugins/ch.ctrox.csi.s3-driver mountPath: /var/lib/kubelet/plugins/ru.yandex.s3.csi
- name: csi-s3 - name: csi-s3
image: csi-s3 image: csi-s3
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
@ -94,14 +94,14 @@ spec:
- "--v=4" - "--v=4"
env: env:
- name: CSI_ENDPOINT - name: CSI_ENDPOINT
value: unix:///var/lib/kubelet/plugins/ch.ctrox.csi.s3-driver/csi.sock value: unix:///var/lib/kubelet/plugins/ru.yandex.s3.csi/csi.sock
- name: NODE_ID - name: NODE_ID
valueFrom: valueFrom:
fieldRef: fieldRef:
fieldPath: spec.nodeName fieldPath: spec.nodeName
volumeMounts: volumeMounts:
- name: socket-dir - name: socket-dir
mountPath: /var/lib/kubelet/plugins/ch.ctrox.csi.s3-driver mountPath: /var/lib/kubelet/plugins/ru.yandex.s3.csi
volumes: volumes:
- name: socket-dir - name: socket-dir
emptyDir: {} emptyDir: {}

View file

@ -33,8 +33,8 @@ type driver struct {
} }
var ( var (
vendorVersion = "v1.2.0-rc.1" vendorVersion = "v1.2.0"
driverName = "ch.ctrox.csi.s3-driver" driverName = "ru.yandex.s3.csi"
) )
// New initializes the driver // New initializes the driver