Skip to content

Commit b144eec

Browse files
authored
Merge pull request kubernetes#90778 from msau42/update-mock
Update sidecars for csi mock driver
2 parents 8c4e3fa + b34ad7e commit b144eec

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

test/e2e/testing-manifests/storage-csi/external-attacher/rbac.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ rules:
3434
- apiGroups: ["storage.k8s.io"]
3535
resources: ["volumeattachments"]
3636
verbs: ["get", "list", "watch", "update", "patch"]
37+
- apiGroups: ["storage.k8s.io"]
38+
resources: ["volumeattachments/status"]
39+
verbs: ["patch"]
3740
#Secret permission is optional.
3841
#Enable it if you need value from secret.
3942
#For example, you have key `csi.storage.k8s.io/controller-publish-secret-name` in StorageClass.parameters

test/e2e/testing-manifests/storage-csi/mock/csi-mock-driver-attacher.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
serviceAccountName: csi-mock
1616
containers:
1717
- name: csi-attacher
18-
image: quay.io/k8scsi/csi-attacher:v2.1.0
18+
image: quay.io/k8scsi/csi-attacher:v3.0.0-rc1
1919
args:
2020
- --v=5
2121
- --csi-address=$(ADDRESS)

test/e2e/testing-manifests/storage-csi/mock/csi-mock-driver.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@ spec:
1515
serviceAccountName: csi-mock
1616
containers:
1717
- name: csi-provisioner
18-
image: quay.io/k8scsi/csi-provisioner:v1.6.0
18+
image: quay.io/k8scsi/csi-provisioner:v2.0.0-rc1
1919
args:
2020
- "--csi-address=$(ADDRESS)"
21-
- "--connection-timeout=15s"
2221
# Topology support is needed for the pod rescheduling test
2322
# ("storage capacity" in csi_mock_volume.go).
2423
- "--feature-gates=Topology=true"

0 commit comments

Comments
 (0)