Skip to content
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

can't use make build with lib-go project after scaffold new project, run make manifests, but not added any custom code yet #68

Open
bentito opened this issue Dec 17, 2021 · 1 comment

Comments

@bentito
Copy link

bentito commented Dec 17, 2021

Bug Report

What did you do?

ran make build

What did you expect to see?

normal non-error output

What did you see instead? Under which circumstances?

cert-mgr-lib-go main $ make build
/Users/btofel/workspace/cert-mgr-lib-go/bin/controller-gen object:headerFile="hack/boilerplate.go.txt" paths="./..."
go fmt ./...
go vet ./...
# sigs.k8s.io/controller-runtime/pkg/log
../../.gvm/pkgsets/go1.16.6/global/pkg/mod/sigs.k8s.io/controller-runtime@v0.10.0/pkg/log/deleg.go:79:12: undefined: logr.WithCallDepth
<etc., snip>

Environment

Operator type:

/language go

Kubernetes cluster type:

N/A

$ operator-sdk version

operator-sdk version: "v1.15.0-7-g37c771c4", commit: "37c771c42e42887a5633c1cd241d8294adfcc04a", kubernetes version: "v1.21", go version: "go1.17.2", GOOS: "darwin", GOARCH: "amd64"

$ go version (if language is Go)

go version go1.16.6 darwin/amd64
(also tried with: go1.17.2)

$ kubectl version

N/A

Possible Solution

Additional context

@bentito
Copy link
Author

bentito commented Jan 11, 2022

/assign @varshaprasad96

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant