Fix Kubernetes 1.22 support by updating csi-attacher to v3.0.1

Minimum supported Kubernetes version is now 1.17

Fixes #6, #17
This commit is contained in:
Vitaliy Filippov 2022-06-22 15:42:51 +03:00
parent 2ccacb0de0
commit f1cf91c00c

View file

@ -21,9 +21,15 @@ rules:
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get", "list", "watch"]
- apiGroups: ["storage.k8s.io"]
resources: ["csinodes"]
verbs: ["get", "list", "watch"]
- apiGroups: ["storage.k8s.io"]
resources: ["volumeattachments"]
verbs: ["get", "list", "watch", "update", "patch"]
- apiGroups: ["storage.k8s.io"]
resources: ["volumeattachments/status"]
verbs: ["patch"]
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
@ -75,7 +81,7 @@ spec:
operator: "Exists"
containers:
- name: csi-attacher
image: quay.io/k8scsi/csi-attacher:v2.2.0
image: quay.io/k8scsi/csi-attacher:v3.0.1
args:
- "--v=4"
- "--csi-address=$(ADDRESS)"