-
Notifications
You must be signed in to change notification settings - Fork 504
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
Chart doesn't respect null jaeger/zipkin/prometheus default receivers when used as a subchart #1357
Comments
Update : just tested with 0.106.1 instead of 0.104. Same result |
@stonkie are you using the opentelemetry-collector chart as a subchart? |
Here is an example showing how Also remember our chart only supports Helm 3.9+. Please check that your helm version is within the supported range. |
Hi @TylerHelmuth, Yeah I'm using it as a subchart named "opentelemetry-collector", hence the prefix to the variable names. We use this processor to lock versions and apply renovate monthly and to adjust some defaults and I figured it made for easy repro steps. I do use a supported version of helm... I also used the second screenshot to show the parameters were passed in properly. But you're right, if I skip the subchart and use the chart directly, it applies properly. I think there's something I misunderstand about null and how it merges into subchart values... |
This only occurs with subchart. Still haven't figured out exactly why, but it isn't related to a bug in the charts themselves as I initially thought. |
Looks like this is what I'm hitting : helm/helm#12879 |
Helm has a bug where using You'll want to use See #1301 |
Hello,
The documentation says to set the default receivers to null to disable them. This doesn't work and still outputs the receiver configs, so a chizeled otel collector image that doesn't contain those receivers fails to load in the default charts.
Link to doc : https://github.com/open-telemetry/opentelemetry-helm-charts/blob/main/charts/opentelemetry-collector/README.md#basic-top-level-configuration
I would expect the jaeger entry to be absent from the ConfigMap here :
To show this way of configuring actually works :
To repro, drop this Chart.yaml file into a templates directory :
Then run those commands :
The text was updated successfully, but these errors were encountered: