From b50e93e689d8b112b806a340a208398f0abe198a Mon Sep 17 00:00:00 2001 From: Humble Chirammal Date: Wed, 27 Apr 2022 13:57:38 +0530 Subject: [PATCH] nfs: remove node plugin RBAC for NFS provisioner this commit removes the node plugin RBAC for NFS plugin as it is not needed. Signed-off-by: Humble Chirammal --- .../nfs/kubernetes/csi-nodeplugin-rbac.yaml | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/deploy/nfs/kubernetes/csi-nodeplugin-rbac.yaml b/deploy/nfs/kubernetes/csi-nodeplugin-rbac.yaml index e3523faed..385b939f4 100644 --- a/deploy/nfs/kubernetes/csi-nodeplugin-rbac.yaml +++ b/deploy/nfs/kubernetes/csi-nodeplugin-rbac.yaml @@ -3,25 +3,3 @@ apiVersion: v1 kind: ServiceAccount metadata: name: nfs-csi-nodeplugin ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: nfs-csi-nodeplugin -rules: - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get"] ---- -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: nfs-csi-nodeplugin -subjects: - - kind: ServiceAccount - name: nfs-csi-nodeplugin - namespace: default -roleRef: - kind: ClusterRole - name: nfs-csi-nodeplugin - apiGroup: rbac.authorization.k8s.io