Update(deploy): Update the csi-provisioner version to v3.0.0 (#374)

Signed-off-by: w3aman <aman.gupta@mayadata.io>
This commit is contained in:
Aman Gupta 2021-09-01 11:29:54 +05:30 committed by GitHub
parent 16f14c33ec
commit 5030cb4acf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 41 additions and 7 deletions

View file

@ -10,6 +10,8 @@ spec:
# do not require volumeattachment
attachRequired: false
podInfoOnMount: false
storageCapacity: true
---
apiVersion: apiextensions.k8s.io/v1
@ -762,7 +764,7 @@ spec:
serviceAccount: openebs-zfs-controller-sa
containers:
- name: csi-resizer
image: k8s.gcr.io/sig-storage/csi-resizer:v1.1.0
image: k8s.gcr.io/sig-storage/csi-resizer:v1.2.0
args:
- "--v=5"
- "--csi-address=$(ADDRESS)"
@ -793,7 +795,7 @@ spec:
- "--leader-election=true"
imagePullPolicy: IfNotPresent
- name: csi-provisioner
image: k8s.gcr.io/sig-storage/csi-provisioner:v2.1.0
image: k8s.gcr.io/sig-storage/csi-provisioner:v3.0.0
imagePullPolicy: IfNotPresent
args:
- "--csi-address=$(ADDRESS)"
@ -802,10 +804,19 @@ spec:
- "--strict-topology"
- "--leader-election"
- "--extra-create-metadata=true"
- "--enable-capacity=true"
- "--default-fstype=ext4"
env:
- name: ADDRESS
value: /var/lib/csi/sockets/pluginproxy/csi.sock
- name: NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
volumeMounts:
- name: socket-dir
mountPath: /var/lib/csi/sockets/pluginproxy/
@ -995,7 +1006,7 @@ spec:
hostNetwork: true
containers:
- name: csi-node-driver-registrar
image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.1.0
image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.3.0
imagePullPolicy: IfNotPresent
args:
- "--v=5"