go.opentelemetry.io/otel/trace broken when scaffolding webhook #6693
Labels
language/go
Issue is related to a Go operator project
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
Milestone
Bug Report
What did you do?
I generated a webhook with
operator-sdk create webhook --group group --version v1alpha1 --kind Resource --programmatic-validation
What did you expect to see?
I then ran
make run
and expected the operator to run.What did you see instead? Under which circumstances?
Environment
Operator type:
/language go
Kubernetes cluster type:
vanilla
$ operator-sdk version
operator-sdk version: "v1.33.0", commit: "542966812906456a8d67cf7284fc6410b104e118", kubernetes version: "1.27.0", go version: "go1.21.5", GOOS: "linux", GOARCH: "amd64"
$ go version
(if language is Go)go1.22.0
$ kubectl version
Client Version: v1.29.1
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.29.2
Possible Solution
I tried to update opentelemetry packages in the go.mod:
The text was updated successfully, but these errors were encountered: