-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
kind/documentationCategorizes issue or PR as related to documentation.Categorizes issue or PR as related to documentation.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Milestone
Description
Bug Report
Kubebuilder is Tightly coupled in requirements, which is fine but...
kubebuilder
is not listed in Prerequisitesmake docker-build ...
expects kubebuilder inusr/local/kubebuilder
only otherwise it raises an error, which I don't think is a good idea. User may have kubebuilder anywhere in PATH.
What did you do?
make docker-build $IMG
What did you expect to see?
resolves kubebuilder from $PATH
not from any Specific Location.
What did you see instead? Under which circumstances?
Failure [0.002 seconds]
[BeforeSuite] BeforeSuite
/home/deepak/projects/go/src/operator/newoperator3/final/crda-operator/controllers/suite_test.go:52
Unexpected error:
<*fmt.wrapError | 0xc00046c2a0>: {
msg: "failed to start the controlplane. retried 5 times: fork/exec /usr/local/kubebuilder/bin/etcd: no such file or directory",
err: {
Op: "fork/exec",
Path: "/usr/local/kubebuilder/bin/etcd",
Err: 0x2,
},
}
failed to start the controlplane. retried 5 times: fork/exec /usr/local/kubebuilder/bin/etcd: no such file or directory
occurred
/home/deepak/projects/go/src/operator/newoperator3/final/crda-operator/controllers/suite_test.go:62
------------------------------
Ran 0 of 0 Specs in 0.002 seconds
FAIL! -- 0 Passed | 0 Failed | 0 Pending | 0 Skipped
--- FAIL: TestAPIs (0.00s)
FAIL
coverage: 0.0% of statements
FAIL github.com/deepak1725/crda-operator/controllers 0.010s
FAIL
make: *** [Makefile:30: test] Error 1
Environment
-
operator-sdk version: 0.19
-
go version: 0.14
-
Kubernetes version information: 1.18
-
Kubernetes cluster kind: minikube
-
Are you writing your operator in ansible, helm, or go? go
Possible Solution
Additional context
Add any other context about the problem here.
a-roberts, mihail-i4v, ytsarev, ppmsgit, vvsandeepreddy and 4 more
Metadata
Metadata
Assignees
Labels
kind/documentationCategorizes issue or PR as related to documentation.Categorizes issue or PR as related to documentation.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.Must be staffed and worked on either currently, or very soon, ideally in time for the next release.