Skip to content

Commit f1cf91c

Browse files
committed
Fix Kubernetes 1.22 support by updating csi-attacher to v3.0.1
Minimum supported Kubernetes version is now 1.17 Fixes #6, #17
1 parent 2ccacb0 commit f1cf91c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

deploy/kubernetes/attacher.yaml

+7-1
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,15 @@ rules:
2121
- apiGroups: [""]
2222
resources: ["nodes"]
2323
verbs: ["get", "list", "watch"]
24+
- apiGroups: ["storage.k8s.io"]
25+
resources: ["csinodes"]
26+
verbs: ["get", "list", "watch"]
2427
- apiGroups: ["storage.k8s.io"]
2528
resources: ["volumeattachments"]
2629
verbs: ["get", "list", "watch", "update", "patch"]
30+
- apiGroups: ["storage.k8s.io"]
31+
resources: ["volumeattachments/status"]
32+
verbs: ["patch"]
2733
---
2834
kind: ClusterRoleBinding
2935
apiVersion: rbac.authorization.k8s.io/v1
@@ -75,7 +81,7 @@ spec:
7581
operator: "Exists"
7682
containers:
7783
- name: csi-attacher
78-
image: quay.io/k8scsi/csi-attacher:v2.2.0
84+
image: quay.io/k8scsi/csi-attacher:v3.0.1
7985
args:
8086
- "--v=4"
8187
- "--csi-address=$(ADDRESS)"

0 commit comments

Comments
 (0)