-
Notifications
You must be signed in to change notification settings - Fork 13
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
🌱 Avoid otel 114 #207
🌱 Avoid otel 114 #207
Conversation
I can not fix the problem by just go.mod "replace" statements about opentelemetry. I tried that in https://github.com/MikeSpreitzer/kcp-edge-mc/tree/bad-otel-demo, but then something else gets wedged:
|
O crud, I get those errors even with this change. Apparently they are coming from something else. |
It was cruft in my indirect requirements. I do not need this PR; I can get past the opentelemetry botch by adding |
@MikeSpreitzer ok, so should we close this one for now? |
No, I think this is still good. It is updating dependencies to remove a problem for clients. |
@MikeSpreitzer there is a check that does not pass - see https://github.com/kubestellar/kubeflex/actions/runs/7943445058/job/21687829561?pr=207 can you try to rebase and update the PR? |
Signed-off-by: Mike Spreitzer <[email protected]>
e8dc40e
to
23edeb1
Compare
Rebased as suggested and planned. |
Hmm, now something else is going wrong. And the same thing even strikes commit e8dc40e . Why? Investigating... |
Release 3.11.2 of Helm uses Kubernetes release 1.26.0. The Kubernetes project is up-front about the fact that they do not follow semver rules; clients of 1.26.0 do not necessarily work with 1.27.0 or higher. We need Kubernetes 1.28.2 currently. So the approach in this PR is doomed. |
helm v3.13.1 uses Kube libs v0.28.2 ... should we try to upgrade helm for that ? |
Summary
This PR changes the version of Helm that KubeFlex depends on, from 3.12 to 3.11.2, so that the dependency on Helm does not in turn bring in a dependency on version 1.14.0 of opentelemetry. That dependency is a problem for compiling clients of Kubernetes release 0.28.anything, which depend on opentelemetry 1.10. They made a non-backwards-compatible change from 1.10 to 1.14, removing
WithTLSConfig
from https://github.com/open-telemetry/opentelemetry-go/blob/v1.10.0/exporters/otlp/internal/envconfig/envconfig.go.Related issue(s)
Fixes #