Skip to content
Snippets Groups Projects
Unverified Commit 9d7f358d authored by rafal-jan's avatar rafal-jan Committed by GitHub
Browse files

Fix csi-snapshotter timeout option. Fix ebs-external-attacher-role ClusterRole. (#6776)

parent b1bb5a47
No related branches found
No related tags found
No related merge requests found
...@@ -51,6 +51,7 @@ roleRef: ...@@ -51,6 +51,7 @@ roleRef:
--- ---
# The permissions in this ClusterRole are tightly coupled with the version of csi-attacher used. More information about this can be found in kubernetes-csi/external-attacher.
kind: ClusterRole kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
metadata: metadata:
...@@ -58,16 +59,16 @@ metadata: ...@@ -58,16 +59,16 @@ metadata:
rules: rules:
- apiGroups: [""] - apiGroups: [""]
resources: ["persistentvolumes"] resources: ["persistentvolumes"]
verbs: ["get", "list", "watch", "update"] verbs: ["get", "list", "watch", "patch"]
- apiGroups: [""] - apiGroups: ["storage.k8s.io"]
resources: ["nodes"] resources: ["csinodes"]
verbs: ["get", "list", "watch"]
- apiGroups: ["csi.storage.k8s.io"]
resources: ["csinodeinfos"]
verbs: ["get", "list", "watch"] verbs: ["get", "list", "watch"]
- apiGroups: ["storage.k8s.io"] - apiGroups: ["storage.k8s.io"]
resources: ["volumeattachments"] resources: ["volumeattachments"]
verbs: ["get", "list", "watch", "update"] verbs: ["get", "list", "watch", "patch"]
- apiGroups: ["storage.k8s.io"]
resources: ["volumeattachments/status"]
verbs: ["patch"]
--- ---
......
...@@ -92,7 +92,7 @@ spec: ...@@ -92,7 +92,7 @@ spec:
image: {{ csi_snapshotter_image_repo }}:{{ csi_snapshotter_image_tag }} image: {{ csi_snapshotter_image_repo }}:{{ csi_snapshotter_image_tag }}
args: args:
- --csi-address=$(ADDRESS) - --csi-address=$(ADDRESS)
- --connection-timeout=15s - --timeout=15s
env: env:
- name: ADDRESS - name: ADDRESS
value: /var/lib/csi/sockets/pluginproxy/csi.sock value: /var/lib/csi/sockets/pluginproxy/csi.sock
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment