Merge pull request #90778 from msau42/update-mock

Update sidecars for csi mock driver
This commit is contained in:
Kubernetes Prow Robot 2020-05-06 17:57:08 -07:00 committed by GitHub
commit b144eec878
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"