mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
Merge pull request #90778 from msau42/update-mock
Update sidecars for csi mock driver
This commit is contained in:
commit
b144eec878
@ -34,6 +34,9 @@ rules:
|
|||||||
- apiGroups: ["storage.k8s.io"]
|
- apiGroups: ["storage.k8s.io"]
|
||||||
resources: ["volumeattachments"]
|
resources: ["volumeattachments"]
|
||||||
verbs: ["get", "list", "watch", "update", "patch"]
|
verbs: ["get", "list", "watch", "update", "patch"]
|
||||||
|
- apiGroups: ["storage.k8s.io"]
|
||||||
|
resources: ["volumeattachments/status"]
|
||||||
|
verbs: ["patch"]
|
||||||
#Secret permission is optional.
|
#Secret permission is optional.
|
||||||
#Enable it if you need value from secret.
|
#Enable it if you need value from secret.
|
||||||
#For example, you have key `csi.storage.k8s.io/controller-publish-secret-name` in StorageClass.parameters
|
#For example, you have key `csi.storage.k8s.io/controller-publish-secret-name` in StorageClass.parameters
|
||||||
|
@ -15,7 +15,7 @@ spec:
|
|||||||
serviceAccountName: csi-mock
|
serviceAccountName: csi-mock
|
||||||
containers:
|
containers:
|
||||||
- name: csi-attacher
|
- name: csi-attacher
|
||||||
image: quay.io/k8scsi/csi-attacher:v2.1.0
|
image: quay.io/k8scsi/csi-attacher:v3.0.0-rc1
|
||||||
args:
|
args:
|
||||||
- --v=5
|
- --v=5
|
||||||
- --csi-address=$(ADDRESS)
|
- --csi-address=$(ADDRESS)
|
||||||
|
@ -15,10 +15,9 @@ spec:
|
|||||||
serviceAccountName: csi-mock
|
serviceAccountName: csi-mock
|
||||||
containers:
|
containers:
|
||||||
- name: csi-provisioner
|
- name: csi-provisioner
|
||||||
image: quay.io/k8scsi/csi-provisioner:v1.6.0
|
image: quay.io/k8scsi/csi-provisioner:v2.0.0-rc1
|
||||||
args:
|
args:
|
||||||
- "--csi-address=$(ADDRESS)"
|
- "--csi-address=$(ADDRESS)"
|
||||||
- "--connection-timeout=15s"
|
|
||||||
# Topology support is needed for the pod rescheduling test
|
# Topology support is needed for the pod rescheduling test
|
||||||
# ("storage capacity" in csi_mock_volume.go).
|
# ("storage capacity" in csi_mock_volume.go).
|
||||||
- "--feature-gates=Topology=true"
|
- "--feature-gates=Topology=true"
|
||||||
|
Loading…
Reference in New Issue
Block a user