From dc4fbf755437017a44d238727fd98ffa2fa5c075 Mon Sep 17 00:00:00 2001 From: Stephen Cuppett Date: Sun, 10 Jan 2021 13:13:54 -0500 Subject: [PATCH] Adds patch for ebs-csi-controller-sa to volumeattachments/status Allows patching volumeattachments/status by the csi-attacher sidecar. --- deploy/kubernetes/base/clusterrole-attacher.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deploy/kubernetes/base/clusterrole-attacher.yaml b/deploy/kubernetes/base/clusterrole-attacher.yaml index a41b9f5d9a..5805412acb 100644 --- a/deploy/kubernetes/base/clusterrole-attacher.yaml +++ b/deploy/kubernetes/base/clusterrole-attacher.yaml @@ -19,3 +19,6 @@ rules: - apiGroups: ["storage.k8s.io"] resources: ["volumeattachments"] verbs: ["get", "list", "watch", "update", "patch"] + - apiGroups: ["storage.k8s.io"] + resources: ["volumeattachments/status"] + verbs: ["patch"]