This is an automated email from the ASF dual-hosted git repository.
pcongiusti pushed a commit to branch release-2.9.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/release-2.9.x by this push:
new fbe4566c7 fix(operator): restore missing PVC RBAC permissions
fbe4566c7 is described below
commit fbe4566c7bb35eaaef43ee3e4482e0cc49f34bc5
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: