From aa3388d0c047112a62c086b56987bda057668521 Mon Sep 17 00:00:00 2001 From: motoki317 Date: Sat, 1 Jun 2024 12:56:37 +0900 Subject: [PATCH] Add PV patch verb to support external-provisioner v5 --- deploy/helm/csi-s3/templates/provisioner.yaml | 2 +- deploy/kubernetes/provisioner.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/helm/csi-s3/templates/provisioner.yaml b/deploy/helm/csi-s3/templates/provisioner.yaml index d8c4eb3..7b5102c 100644 --- a/deploy/helm/csi-s3/templates/provisioner.yaml +++ b/deploy/helm/csi-s3/templates/provisioner.yaml @@ -14,7 +14,7 @@ rules: verbs: ["get", "list"] - apiGroups: [""] resources: ["persistentvolumes"] - verbs: ["get", "list", "watch", "create", "delete"] + verbs: ["get", "list", "watch", "create", "patch", "delete"] - apiGroups: [""] resources: ["persistentvolumeclaims"] verbs: ["get", "list", "watch", "update"] diff --git a/deploy/kubernetes/provisioner.yaml b/deploy/kubernetes/provisioner.yaml index 3e91055..c6d3432 100644 --- a/deploy/kubernetes/provisioner.yaml +++ b/deploy/kubernetes/provisioner.yaml @@ -14,7 +14,7 @@ rules: verbs: ["get", "list"] - apiGroups: [""] resources: ["persistentvolumes"] - verbs: ["get", "list", "watch", "create", "delete"] + verbs: ["get", "list", "watch", "create", "patch", "delete"] - apiGroups: [""] resources: ["persistentvolumeclaims"] verbs: ["get", "list", "watch", "update"]