This is an automated email from the ASF dual-hosted git repository.

gfournier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/main by this push:
     new b72531819 fix(rbac): watch lease
b72531819 is described below

commit b7253181916d7380d5801b44d7c5f48013cfd669
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Tue Feb 10 08:34:52 2026 +0100

    fix(rbac): watch lease
    
    Closes #6486
---
 helm/camel-k/templates/rbacs-descoped.yaml                           | 1 +
 helm/camel-k/templates/rbacs-namespaced.yaml                         | 1 +
 pkg/resources/config/rbac/descoped/operator-cluster-role-leases.yaml | 1 +
 pkg/resources/config/rbac/namespaced/operator-role-leases.yaml       | 1 +
 4 files changed, 4 insertions(+)

diff --git a/helm/camel-k/templates/rbacs-descoped.yaml 
b/helm/camel-k/templates/rbacs-descoped.yaml
index 87a8fd656..a6b783931 100644
--- a/helm/camel-k/templates/rbacs-descoped.yaml
+++ b/helm/camel-k/templates/rbacs-descoped.yaml
@@ -318,6 +318,7 @@ rules:
   - list
   - patch
   - update
+  - watch
 ---
 apiVersion: rbac.authorization.k8s.io/v1
 kind: ClusterRole
diff --git a/helm/camel-k/templates/rbacs-namespaced.yaml 
b/helm/camel-k/templates/rbacs-namespaced.yaml
index d7de8f2b3..c16ff383c 100644
--- a/helm/camel-k/templates/rbacs-namespaced.yaml
+++ b/helm/camel-k/templates/rbacs-namespaced.yaml
@@ -313,6 +313,7 @@ rules:
   - list
   - patch
   - update
+  - watch
 ---
 apiVersion: rbac.authorization.k8s.io/v1
 kind: Role
diff --git 
a/pkg/resources/config/rbac/descoped/operator-cluster-role-leases.yaml 
b/pkg/resources/config/rbac/descoped/operator-cluster-role-leases.yaml
index 529907dbb..38e62309c 100644
--- a/pkg/resources/config/rbac/descoped/operator-cluster-role-leases.yaml
+++ b/pkg/resources/config/rbac/descoped/operator-cluster-role-leases.yaml
@@ -33,3 +33,4 @@ rules:
   - list
   - patch
   - update
+  - watch
diff --git a/pkg/resources/config/rbac/namespaced/operator-role-leases.yaml 
b/pkg/resources/config/rbac/namespaced/operator-role-leases.yaml
index bf7c82c4d..9ccbadff4 100644
--- a/pkg/resources/config/rbac/namespaced/operator-role-leases.yaml
+++ b/pkg/resources/config/rbac/namespaced/operator-role-leases.yaml
@@ -33,3 +33,4 @@ rules:
   - list
   - patch
   - update
+  - watch

Reply via email to