Rename CSI driver to ru.yandex.s3.csi
This commit is contained in:
parent
46da5a7002
commit
49d7c3a488
7 changed files with 14 additions and 14 deletions
|
@ -96,7 +96,7 @@ kind: StorageClass
|
|||
apiVersion: storage.k8s.io/v1
|
||||
metadata:
|
||||
name: csi-s3-existing-bucket
|
||||
provisioner: ch.ctrox.csi.s3-driver
|
||||
provisioner: ru.yandex.s3.csi
|
||||
parameters:
|
||||
mounter: rclone
|
||||
bucket: some-existing-bucket-name
|
||||
|
|
|
@ -81,13 +81,13 @@ spec:
|
|||
- "--csi-address=$(ADDRESS)"
|
||||
env:
|
||||
- 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"
|
||||
volumeMounts:
|
||||
- name: socket-dir
|
||||
mountPath: /var/lib/kubelet/plugins/ch.ctrox.csi.s3-driver
|
||||
mountPath: /var/lib/kubelet/plugins/ru.yandex.s3.csi
|
||||
volumes:
|
||||
- name: socket-dir
|
||||
hostPath:
|
||||
path: /var/lib/kubelet/plugins/ch.ctrox.csi.s3-driver
|
||||
path: /var/lib/kubelet/plugins/ru.yandex.s3.csi
|
||||
type: DirectoryOrCreate
|
||||
|
|
|
@ -65,7 +65,7 @@ spec:
|
|||
- name: ADDRESS
|
||||
value: /csi/csi.sock
|
||||
- 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
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
|
@ -109,7 +109,7 @@ spec:
|
|||
type: DirectoryOrCreate
|
||||
- name: plugin-dir
|
||||
hostPath:
|
||||
path: /var/lib/kubelet/plugins/ch.ctrox.csi.s3-driver
|
||||
path: /var/lib/kubelet/plugins/ru.yandex.s3.csi
|
||||
type: DirectoryOrCreate
|
||||
- name: pods-mount-dir
|
||||
hostPath:
|
||||
|
|
|
@ -16,7 +16,7 @@ spec:
|
|||
namespace: default
|
||||
name: manualclaim
|
||||
csi:
|
||||
driver: ch.ctrox.csi.s3-driver
|
||||
driver: ru.yandex.s3.csi
|
||||
controllerPublishSecretRef:
|
||||
name: csi-s3-secret
|
||||
namespace: kube-system
|
||||
|
|
|
@ -3,7 +3,7 @@ kind: StorageClass
|
|||
apiVersion: storage.k8s.io/v1
|
||||
metadata:
|
||||
name: csi-s3
|
||||
provisioner: ch.ctrox.csi.s3-driver
|
||||
provisioner: ru.yandex.s3.csi
|
||||
parameters:
|
||||
mounter: geesefs
|
||||
# you can set mount options here, for example limit memory cache size (recommended)
|
||||
|
|
|
@ -80,11 +80,11 @@ spec:
|
|||
- "--v=4"
|
||||
env:
|
||||
- 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"
|
||||
volumeMounts:
|
||||
- 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
|
||||
image: csi-s3
|
||||
imagePullPolicy: IfNotPresent
|
||||
|
@ -94,14 +94,14 @@ spec:
|
|||
- "--v=4"
|
||||
env:
|
||||
- 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
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: spec.nodeName
|
||||
volumeMounts:
|
||||
- name: socket-dir
|
||||
mountPath: /var/lib/kubelet/plugins/ch.ctrox.csi.s3-driver
|
||||
mountPath: /var/lib/kubelet/plugins/ru.yandex.s3.csi
|
||||
volumes:
|
||||
- name: socket-dir
|
||||
emptyDir: {}
|
||||
|
|
|
@ -33,8 +33,8 @@ type driver struct {
|
|||
}
|
||||
|
||||
var (
|
||||
vendorVersion = "v1.2.0-rc.1"
|
||||
driverName = "ch.ctrox.csi.s3-driver"
|
||||
vendorVersion = "v1.2.0"
|
||||
driverName = "ru.yandex.s3.csi"
|
||||
)
|
||||
|
||||
// New initializes the driver
|
||||
|
|
Loading…
Reference in a new issue