Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow image and tag to be specified separately for target allocators #3557

Open
rorynickolls-skyral opened this issue Dec 18, 2024 · 1 comment
Labels
area:collector Issues for deploying collector

Comments

@rorynickolls-skyral
Copy link

Component(s)

collector, target allocator

Describe the issue you're reporting

Currently, the image for a target allocator can be specified with the targetAllocator.image field on the OpenTelemetryCollector custom resource.

This means that it is not possible to supply an image registry and tag separately.

An example of when this would be useful is when pulling images from a private mirror but wanting to keep the tag up-to-date automatically.

Currently, to pull images from a private registry a user must also pin the target allocator tag in their custom resource. It would be preferable to only set the registry and have the operator select the target allocator tag itself.

@swiatekm
Copy link
Contributor

swiatekm commented Jan 7, 2025

Both the target allocator and collector image can be set using the same mechanism as built-in K8s resources like Deployments or StatefulSets. If you want to track updates to the image tag separately, it's preferable to do that using a higher level templating tool, like Helm or kustomize. The operator Helm Chart, for example, already lets you do this.

@swiatekm swiatekm added area:collector Issues for deploying collector and removed needs triage labels Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:collector Issues for deploying collector
Projects
None yet
Development

No branches or pull requests

2 participants