From 49b29d402205c17fbaaf6ab1e1aae674eff24409 Mon Sep 17 00:00:00 2001
From: Samuel Vijaykumar M <mad.vijay@gmail.com>
Date: Thu, 1 Sep 2022 21:58:58 +0530
Subject: [PATCH] Add to Helm charts as well

---
 charts/redisoperator/templates/service-account.yaml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/charts/redisoperator/templates/service-account.yaml b/charts/redisoperator/templates/service-account.yaml
index b136238d2..940339d22 100644
--- a/charts/redisoperator/templates/service-account.yaml
+++ b/charts/redisoperator/templates/service-account.yaml
@@ -40,6 +40,15 @@ rules:
       - patch
       - update
       - watch
+  - apiGroups:
+    - coordination.k8s.io
+    resources:
+    - leases
+    verbs:
+    - create
+    - get
+    - list
+    - update
   - apiGroups:
       - ""
     resources:
-- 
GitLab