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

pcongiusti 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 f4407ca55 fix(operator): restore missing PVC RBAC permissions
f4407ca55 is described below

commit f4407ca55f745ca433b0fd0ed841034e219397c8
Author: Pranjul Kalsi <[email protected]>
AuthorDate: Tue Jan 13 17:45:54 2026 +0530

    fix(operator): restore missing PVC RBAC permissions
---
 helm/camel-k/templates/rbacs-descoped.yaml                    | 3 +++
 helm/camel-k/templates/rbacs-namespaced.yaml                  | 3 +++
 pkg/resources/config/rbac/descoped/operator-cluster-role.yaml | 3 +++
 pkg/resources/config/rbac/namespaced/operator-role.yaml       | 3 +++
 4 files changed, 12 insertions(+)

diff --git a/helm/camel-k/templates/rbacs-descoped.yaml 
b/helm/camel-k/templates/rbacs-descoped.yaml
index 627ad7a2d..145635ea7 100644
--- a/helm/camel-k/templates/rbacs-descoped.yaml
+++ b/helm/camel-k/templates/rbacs-descoped.yaml
@@ -152,6 +152,9 @@ rules:
   - persistentvolumeclaims
   verbs:
   - create
+  - get
+  - list
+  - watch
 - apiGroups:
   - policy
   resources:
diff --git a/helm/camel-k/templates/rbacs-namespaced.yaml 
b/helm/camel-k/templates/rbacs-namespaced.yaml
index 501921eaa..3a7d860df 100644
--- a/helm/camel-k/templates/rbacs-namespaced.yaml
+++ b/helm/camel-k/templates/rbacs-namespaced.yaml
@@ -165,6 +165,9 @@ rules:
   - persistentvolumeclaims
   verbs:
   - create
+  - get
+  - list
+  - watch
 - apiGroups:
   - storage.k8s.io
   resources:
diff --git a/pkg/resources/config/rbac/descoped/operator-cluster-role.yaml 
b/pkg/resources/config/rbac/descoped/operator-cluster-role.yaml
index fbbff3266..d146b4b03 100644
--- a/pkg/resources/config/rbac/descoped/operator-cluster-role.yaml
+++ b/pkg/resources/config/rbac/descoped/operator-cluster-role.yaml
@@ -156,6 +156,9 @@ rules:
   - persistentvolumeclaims
   verbs:
   - create
+  - get
+  - list
+  - watch
 # Required by PDB trait
 - apiGroups:
   - policy
diff --git a/pkg/resources/config/rbac/namespaced/operator-role.yaml 
b/pkg/resources/config/rbac/namespaced/operator-role.yaml
index c6f525bde..94a1a124d 100644
--- a/pkg/resources/config/rbac/namespaced/operator-role.yaml
+++ b/pkg/resources/config/rbac/namespaced/operator-role.yaml
@@ -169,6 +169,9 @@ rules:
   - persistentvolumeclaims
   verbs:
   - create
+  - get
+  - list
+  - watch
 - apiGroups:
   - storage.k8s.io
   resources:

Reply via email to