-
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
make it possuble to just supply a full config #1160
Comments
have you tried |
You should be able to do ports:
custom:
enabled: true
containerPort: 9999
servicePort: 9999
hostPort: 9999
protocol: TCP to add custom ports to both the container and service. |
Can you be more specific about what is difficult to configure? You can remove default components using helm's config:
receivers:
jaeger: null
prometheus: null
zipkin: null
service:
pipelines:
traces:
receivers:
- otlp
metrics: null
logs: null |
+1 on this issue. Having to null out the default config requires merging the nulled structure into our config which seems a little messy. Changes to the default config would then be breaking changes on chart updates. Having a second alternative key The other option of an externally managed ConfigMap is okay and gives the flexibility but loses the auto-reload functionality on config updates |
@TylerHelmuth , it seems to not work with null inside the config directly, when using a subchart: If I try on my own, following the 'otel-trace only' https://github.com/open-telemetry/opentelemetry-helm-charts/tree/main/charts/opentelemetry-collector/examples/deployment-otlp-traces I tried:
or more specific:
in each case I have an error during the helm install:
And the generated configmap in my cluster has all the keys. Helm 3.13 or 3.15 |
I really really don't want to have to do anything special in the chart when this is truly a helm bug. But, considering this bug still isn't fixed, I'm willing to discuss work around solutions. |
Things I'd like to see in a solution:
|
I'm finding it incredibly difficult to set up a custom collector config, because I need to disable the things I don't want. I can't just supply port values if I need non-standard ones either.
Please consider making the config easier by providing an option to just supply a full config and list of ports
The text was updated successfully, but these errors were encountered: