From 814479c950e6fff5f7d4b7f9819bb4693619261b Mon Sep 17 00:00:00 2001 From: Jacob Aronoff Date: Wed, 1 Nov 2023 15:10:48 -0400 Subject: [PATCH] add rbac for bridges --- .../default/rendered/clusterrole.yaml | 26 +++++++++++++++++++ .../templates/clusterrole.yaml | 26 +++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/charts/opentelemetry-operator/examples/default/rendered/clusterrole.yaml b/charts/opentelemetry-operator/examples/default/rendered/clusterrole.yaml index d17469325..cb7c47bca 100644 --- a/charts/opentelemetry-operator/examples/default/rendered/clusterrole.yaml +++ b/charts/opentelemetry-operator/examples/default/rendered/clusterrole.yaml @@ -187,6 +187,32 @@ rules: - get - patch - update + - apiGroups: + - opentelemetry.io + resources: + - opampbridges + verbs: + - get + - list + - patch + - update + - watch + - apiGroups: + - opentelemetry.io + resources: + - opampbridges/finalizers + verbs: + - get + - patch + - update + - apiGroups: + - opentelemetry.io + resources: + - opampbridges/status + verbs: + - get + - patch + - update - apiGroups: - route.openshift.io resources: diff --git a/charts/opentelemetry-operator/templates/clusterrole.yaml b/charts/opentelemetry-operator/templates/clusterrole.yaml index 1c78b583f..c76f7f207 100644 --- a/charts/opentelemetry-operator/templates/clusterrole.yaml +++ b/charts/opentelemetry-operator/templates/clusterrole.yaml @@ -182,6 +182,32 @@ rules: - get - patch - update + - apiGroups: + - opentelemetry.io + resources: + - opampbridges + verbs: + - get + - list + - patch + - update + - watch + - apiGroups: + - opentelemetry.io + resources: + - opampbridges/finalizers + verbs: + - get + - patch + - update + - apiGroups: + - opentelemetry.io + resources: + - opampbridges/status + verbs: + - get + - patch + - update - apiGroups: - route.openshift.io resources: