Open criscola opened 4 months ago
Can you try downgrading your Golang version ti 1.21.7? We're currently experiencing versioning issues with go 1.22.
relates #6651
Hi yes sorry forgot to update the issue, downgrading to go 1.21 fixed the issue
Issues go stale after 90d of inactivity.
Mark the issue as fresh by commenting /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen
.
If this issue is safe to close now please do so with /close
.
/lifecycle stale
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: