diff --git a/ozgcloud-elasticsearch-operator/src/main/helm/templates/rbac/ozgcloud_elasticsearch_operator_edit_role.yaml b/ozgcloud-elasticsearch-operator/src/main/helm/templates/rbac/ozgcloud_elasticsearch_operator_edit_role.yaml
index 6d1374db245847f4616041d850d657f9b3f7bca0..0c61dc6e2a2e4c5e2e73571277e16a2033a694f7 100644
--- a/ozgcloud-elasticsearch-operator/src/main/helm/templates/rbac/ozgcloud_elasticsearch_operator_edit_role.yaml
+++ b/ozgcloud-elasticsearch-operator/src/main/helm/templates/rbac/ozgcloud_elasticsearch_operator_edit_role.yaml
@@ -13,6 +13,7 @@ rules:
   - ozgcloudelasticsearchs
   - ozgcloudelasticsearchs/status
   - ozgcloudelasticsearchs/finalizers
+  - secrets
   verbs:
   - patch
   - update
diff --git a/ozgcloud-elasticsearch-operator/src/test/helm/rbac/ozgcloud_elasticsearch_operator_edit_role_test.yaml b/ozgcloud-elasticsearch-operator/src/test/helm/rbac/ozgcloud_elasticsearch_operator_edit_role_test.yaml
index 6bc79960ebe16d221cbc2fd8ba9d842e47c280cd..b2783615ef8fdc9227863d986fa975398ab0f7b4 100644
--- a/ozgcloud-elasticsearch-operator/src/test/helm/rbac/ozgcloud_elasticsearch_operator_edit_role_test.yaml
+++ b/ozgcloud-elasticsearch-operator/src/test/helm/rbac/ozgcloud_elasticsearch_operator_edit_role_test.yaml
@@ -46,6 +46,7 @@ tests:
               - ozgcloudelasticsearchs
               - ozgcloudelasticsearchs/status
               - ozgcloudelasticsearchs/finalizers
+              - secrets
             verbs:
               - patch
               - update