diff --git a/charts/opentelemetry-operator/examples/default/rendered/clusterrole.yaml b/charts/opentelemetry-operator/examples/default/rendered/clusterrole.yaml index a063938a5..cf07bf89a 100644 --- a/charts/opentelemetry-operator/examples/default/rendered/clusterrole.yaml +++ b/charts/opentelemetry-operator/examples/default/rendered/clusterrole.yaml @@ -143,6 +143,19 @@ rules: - opentelemetry.io resources: - opampbridges + - targetallocators + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - opentelemetry.io + resources: + - targetallocators verbs: - create - delete @@ -191,6 +204,14 @@ rules: - get - patch - update + - apiGroups: + - opentelemetry.io + resources: + - targetallocators/status + verbs: + - get + - patch + - update - apiGroups: - policy resources: diff --git a/charts/opentelemetry-operator/examples/feature-gates/rendered/clusterrole.yaml b/charts/opentelemetry-operator/examples/feature-gates/rendered/clusterrole.yaml index fbc4d38dc..080914fac 100644 --- a/charts/opentelemetry-operator/examples/feature-gates/rendered/clusterrole.yaml +++ b/charts/opentelemetry-operator/examples/feature-gates/rendered/clusterrole.yaml @@ -143,6 +143,19 @@ rules: - opentelemetry.io resources: - opampbridges + - targetallocators + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - opentelemetry.io + resources: + - targetallocators verbs: - create - delete @@ -191,6 +204,14 @@ rules: - get - patch - update + - apiGroups: + - opentelemetry.io + resources: + - targetallocators/status + verbs: + - get + - patch + - update - apiGroups: - policy resources: 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: