From b0fc852a7d741b7d30f9a548870c8285f582b2c8 Mon Sep 17 00:00:00 2001 From: Qinlong Wang Date: Mon, 20 Jan 2025 11:26:49 +0800 Subject: [PATCH] Add rule of elasticjobs/finalizers for the default role. (#1444) * Add rule of elasticjobs/finalizers for the default role. * Update default-role.yaml --- go/elasticjob/config/manifests/bases/default-role.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/go/elasticjob/config/manifests/bases/default-role.yaml b/go/elasticjob/config/manifests/bases/default-role.yaml index 0e170a02b..a3dd0d3b8 100644 --- a/go/elasticjob/config/manifests/bases/default-role.yaml +++ b/go/elasticjob/config/manifests/bases/default-role.yaml @@ -33,6 +33,12 @@ rules: - update - patch - delete + - apiGroups: + - elastic.iml.github.io + resources: + - elasticjobs/finalizers + verbs: + - update --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding