You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2026/10/08 14:56:42 UTC
(camel-k) 08/19: Fix #5935: Regenerate Helm RBAC templates and clean up script/gen_client.sh
This is an automated email from the ASF dual-hosted git repository.
squakez pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 3b02670054d87a1bc5cf13f76d40f34db8aa1772
Author: Keerthan <po...@gmail.com>
AuthorDate: Thu Sep 24 17:39:21 2026 +0530
Fix #5935: Regenerate Helm RBAC templates and clean up script/gen_client.sh
---
helm/camel-k/templates/rbacs-descoped.yaml | 31 ++++++++++++++++++++++++++++
helm/camel-k/templates/rbacs-namespaced.yaml | 30 +++++++++++++++++++++++++++
script/gen_client.sh | 1 -
3 files changed, 61 insertions(+), 1 deletion(-)
diff --git a/helm/camel-k/templates/rbacs-descoped.yaml b/helm/camel-k/templates/rbacs-descoped.yaml
index 1c515a1ce..03d7eccdd 100644
--- a/helm/camel-k/templates/rbacs-descoped.yaml
+++ b/helm/camel-k/templates/rbacs-descoped.yaml
@@ -217,6 +217,22 @@ rules:
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
+metadata:
+ labels:
+ app: camel-k
+ name: {{ include "camel-k.fullname" . }}-operator-arkmq
+rules:
+- apiGroups:
+ - broker.amq.io
+ resources:
+ - activemqartemises
+ - activemqartemisaddresses
+ verbs:
+ - get
+ - list
+---
+apiVersion: rbac.authorization.k8s.io/v1
+kind: ClusterRole
metadata:
labels:
app: camel-k
@@ -491,6 +507,21 @@ subjects:
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
+metadata:
+ labels:
+ app: camel-k
+ name: {{ include "camel-k.fullname" . }}-operator-arkmq
+roleRef:
+ apiGroup: rbac.authorization.k8s.io
+ kind: ClusterRole
+ name: {{ include "camel-k.fullname" . }}-operator-arkmq
+subjects:
+- kind: ServiceAccount
+ name: {{ include "camel-k.fullname" . }}-operator
+ namespace: '{{ .Release.Namespace }}'
+---
+apiVersion: rbac.authorization.k8s.io/v1
+kind: ClusterRoleBinding
metadata:
labels:
app: camel-k
diff --git a/helm/camel-k/templates/rbacs-namespaced.yaml b/helm/camel-k/templates/rbacs-namespaced.yaml
index d43d5db1f..4b0935b44 100644
--- a/helm/camel-k/templates/rbacs-namespaced.yaml
+++ b/helm/camel-k/templates/rbacs-namespaced.yaml
@@ -211,6 +211,22 @@ rules:
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
+metadata:
+ labels:
+ app: camel-k
+ name: {{ include "camel-k.fullname" . }}-operator-arkmq
+rules:
+- apiGroups:
+ - broker.amq.io
+ resources:
+ - activemqartemises
+ - activemqartemisaddresses
+ verbs:
+ - get
+ - list
+---
+apiVersion: rbac.authorization.k8s.io/v1
+kind: Role
metadata:
labels:
app: camel-k
@@ -484,6 +500,20 @@ subjects:
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
+metadata:
+ labels:
+ app: camel-k
+ name: {{ include "camel-k.fullname" . }}-operator-arkmq
+roleRef:
+ apiGroup: rbac.authorization.k8s.io
+ kind: Role
+ name: {{ include "camel-k.fullname" . }}-operator-arkmq
+subjects:
+- kind: ServiceAccount
+ name: {{ include "camel-k.fullname" . }}-operator
+---
+apiVersion: rbac.authorization.k8s.io/v1
+kind: RoleBinding
metadata:
labels:
app: camel-k
diff --git a/script/gen_client.sh b/script/gen_client.sh
index 4aa177eae..eee5768fe 100755
--- a/script/gen_client.sh
+++ b/script/gen_client.sh
@@ -25,7 +25,6 @@ cd $location/../pkg/client
rm -rf camel
rm -rf strimzi
rm -rf keda
-rm -rf arkmq
echo "Generating Go client code..."