From ad3dff693e6ba87a7a0e82aa89958abce4addc42 Mon Sep 17 00:00:00 2001 From: Tamal Saha Date: Sun, 22 Feb 2026 12:26:59 +0600 Subject: [PATCH] Add storageClass list permission for audit Signed-off-by: Tamal Saha --- charts/stash-community/templates/cluster-role.yaml | 2 +- charts/stash-enterprise/templates/cluster-role.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/stash-community/templates/cluster-role.yaml b/charts/stash-community/templates/cluster-role.yaml index 388e00a03..ebe68b0a3 100644 --- a/charts/stash-community/templates/cluster-role.yaml +++ b/charts/stash-community/templates/cluster-role.yaml @@ -126,7 +126,7 @@ rules: - storage.k8s.io resources: - storageclasses - verbs: ["get"] + verbs: ["get", "list", "watch"] - apiGroups: - coordination.k8s.io resources: diff --git a/charts/stash-enterprise/templates/cluster-role.yaml b/charts/stash-enterprise/templates/cluster-role.yaml index eb5c1a465..5fe2606f4 100644 --- a/charts/stash-enterprise/templates/cluster-role.yaml +++ b/charts/stash-enterprise/templates/cluster-role.yaml @@ -129,7 +129,7 @@ rules: - storage.k8s.io resources: - storageclasses - verbs: ["get"] + verbs: ["get", "list", "watch"] - apiGroups: - coordination.k8s.io resources: