From 75dc60adac24c102398f34bc539064feb7576b8f Mon Sep 17 00:00:00 2001 From: Abhilash Shetty <95069770+abhilashshetty04@users.noreply.github.com> Date: Thu, 7 Dec 2023 12:07:40 +0530 Subject: [PATCH] test: check rbac secret requirement (#276) Signed-off-by: Abhilash Shetty --- deploy/lvm-operator.yaml | 3 --- deploy/yamls/lvm-driver.yaml | 3 --- 2 files changed, 6 deletions(-) diff --git a/deploy/lvm-operator.yaml b/deploy/lvm-operator.yaml index 2bcfee6f..e562c247 100644 --- a/deploy/lvm-operator.yaml +++ b/deploy/lvm-operator.yaml @@ -1314,9 +1314,6 @@ apiVersion: rbac.authorization.k8s.io/v1 metadata: name: openebs-lvm-provisioner-role rules: - - apiGroups: [""] - resources: ["secrets"] - verbs: ["get", "list"] - apiGroups: [""] resources: ["namespaces"] verbs: ["get", "list", "watch"] diff --git a/deploy/yamls/lvm-driver.yaml b/deploy/yamls/lvm-driver.yaml index 3fb3b5f2..6387699b 100644 --- a/deploy/yamls/lvm-driver.yaml +++ b/deploy/yamls/lvm-driver.yaml @@ -878,9 +878,6 @@ apiVersion: rbac.authorization.k8s.io/v1 metadata: name: openebs-lvm-provisioner-role rules: - - apiGroups: [""] - resources: ["secrets"] - verbs: ["get", "list"] - apiGroups: [""] resources: ["namespaces"] verbs: ["get", "list", "watch"]