You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem:
When serviceAccount is set on an OpenTelemetryCollector, a service account based on the collector name still gets created even though it's unused. The extra serviceAccount is just noise and should not be created. From looking at the code, it appears a targetAllocator serviceAccount will also be auto-created by the operator when an existing serviceAccount is specified.
Expected:
No service accounts are auto-created when an existing serviceAccount is specified
Actual:
Service accounts are auto-created even if an existing one is specified
To Reproduce:
Create a service account, in my case I made an opentelemetry-collector SA
Apply a collector with a serviceAccount, I used the simplest collector below as a test
The text was updated successfully, but these errors were encountered:
csquire
changed the title
Do not auto-create service account if one an existing one is specified
Do not auto-create service account if an existing one is specified
Nov 4, 2022
Problem:
When
serviceAccount
is set on an OpenTelemetryCollector, a service account based on the collector name still gets created even though it's unused. The extra serviceAccount is just noise and should not be created. From looking at the code, it appears a targetAllocator serviceAccount will also be auto-created by the operator when an existing serviceAccount is specified.Expected:
No service accounts are auto-created when an existing serviceAccount is specified
Actual:
Service accounts are auto-created even if an existing one is specified
To Reproduce:
Create a service account, in my case I made an
opentelemetry-collector
SAApply a collector with a serviceAccount, I used the
simplest
collector below as a testThe text was updated successfully, but these errors were encountered: