Skip to content

Support setting custom collector image repo without custom tagΒ #4671

@Aransh

Description

@Aransh

Component(s)

collector

Is your feature request related to a problem? Please describe.

Opened following the discussion with @TylerHelmuth on open-telemetry/opentelemetry-helm-charts#1972

Currently when deploying the opentelemetry operator using the open telemetry-kube-stack, requires setting collector.image.tag alongside collector.image.repository in order to use a custom image on a collector.

For a use-case of using a custom image repo but the same tag, which follows the same versions (for example using "otel/opentelemetry-collector-contrib", or maybe a mirror), a user may want to set the image repo but still allow the chart maintainers to set the image tag that the operator is intended for (the one that will be used were there not a custom image repo set).

Describe the solution you'd like

See @TylerHelmuth's comment on open-telemetry/opentelemetry-helm-charts#1972 (comment)

Describe alternatives you've considered

I've considered doing this purely chart-side and set the . appVersion value as the custom tag if none is provided, but as Tyler mentioned in the discussion this is not viable

Additional context

No response

Tip

React with πŸ‘ to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions