From 17cb750f92ceed2aaf5eff0879ff8a9e633a4968 Mon Sep 17 00:00:00 2001 From: Alex Raiu Date: Thu, 5 Dec 2024 19:05:14 +0200 Subject: [PATCH] Update operator clusterrole * `secrets`: Add TLS support to auto-instrumentation [#3338](https://github.com/open-telemetry/opentelemetry-operator/pull/3338) * `targetallocators`: Generate only TargetAllocator CR from Collector CR [#3402](https://github.com/open-telemetry/opentelemetry-operator/pull/3402) --- .../templates/clusterrole.yaml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/charts/opentelemetry-operator/templates/clusterrole.yaml b/charts/opentelemetry-operator/templates/clusterrole.yaml index e37e9adba..18903f2d2 100644 --- a/charts/opentelemetry-operator/templates/clusterrole.yaml +++ b/charts/opentelemetry-operator/templates/clusterrole.yaml @@ -92,6 +92,7 @@ rules: resources: - nodes - namespaces + - secrets verbs: - get - list @@ -162,6 +163,19 @@ rules: - opentelemetry.io resources: - opampbridges + - targetallocators + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - opentelemetry.io + resources: + - targetallocators verbs: - create - delete @@ -210,6 +224,14 @@ rules: - get - patch - update + - apiGroups: + - opentelemetry.io + resources: + - targetallocators/status + verbs: + - get + - patch + - update - apiGroups: - policy resources: