Update sidecars for csi mock driver

Change-Id: Ica8ca20404fd15dcfdbb912602934a5b9f24e4c6
This commit is contained in:
Michelle Au 2020-05-05 14:56:12 -07:00
parent e8d6d3768e
commit b34ad7e8ad
3 changed files with 5 additions and 3 deletions

View File

@ -34,6 +34,9 @@ rules:
- apiGroups: ["storage.k8s.io"]
resources: ["volumeattachments"]
verbs: ["get", "list", "watch", "update", "patch"]
- apiGroups: ["storage.k8s.io"]
resources: ["volumeattachments/status"]
verbs: ["patch"]
#Secret permission is optional.
#Enable it if you need value from secret.
#For example, you have key `csi.storage.k8s.io/controller-publish-secret-name` in StorageClass.parameters

View File

@ -15,7 +15,7 @@ spec:
serviceAccountName: csi-mock
containers:
- name: csi-attacher
image: quay.io/k8scsi/csi-attacher:v2.1.0
image: quay.io/k8scsi/csi-attacher:v3.0.0-rc1
args:
- --v=5
- --csi-address=$(ADDRESS)

View File

@ -15,10 +15,9 @@ spec:
serviceAccountName: csi-mock
containers:
- name: csi-provisioner
image: quay.io/k8scsi/csi-provisioner:v1.6.0
image: quay.io/k8scsi/csi-provisioner:v2.0.0-rc1
args:
- "--csi-address=$(ADDRESS)"
- "--connection-timeout=15s"
# Topology support is needed for the pod rescheduling test
# ("storage capacity" in csi_mock_volume.go).
- "--feature-gates=Topology=true"