From fe02df610f555c99d7c5aa9572bcff0f6c7c2831 Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Mon, 27 Mar 2023 18:16:16 +0300 Subject: [PATCH] #46 - Remove unneeded permissions from csi-s3 in k8s manifests --- deploy/kubernetes/csi-s3.yaml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/deploy/kubernetes/csi-s3.yaml b/deploy/kubernetes/csi-s3.yaml index f57a49b..9c712a9 100644 --- a/deploy/kubernetes/csi-s3.yaml +++ b/deploy/kubernetes/csi-s3.yaml @@ -8,22 +8,6 @@ kind: ClusterRole apiVersion: rbac.authorization.k8s.io/v1 metadata: name: csi-s3 -rules: - - apiGroups: [""] - resources: ["secrets"] - verbs: ["get", "list"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "update"] - - apiGroups: [""] - resources: ["namespaces"] - verbs: ["get", "list"] - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update"] --- kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1