-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
🐛 add the path to Kubebuilder assets in go/v3 projects #2272
🐛 add the path to Kubebuilder assets in go/v3 projects #2272
Conversation
6540f1f
to
1dcd82b
Compare
1dcd82b
to
96b42d5
Compare
96b42d5
to
b17b6d4
Compare
e3205ca
to
ed1e9f1
Compare
Currently, while setting up envtest and running controller tests in go/v3 projects, we look for the binary in the default location. With the changes made in `setup-envtest`, the kb assets are downloaded at tmp/k8s/<os_specific_location>. This fix sets the KUBEBUILDER_ASSETS var to point to the location where they are downloaded so that `make test` does not fail. Signed-off-by: varshaprasad96 <[email protected]>
ed1e9f1
to
bbaccfb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: estroz, varshaprasad96 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Currently, while setting up envtest and running controller
tests in go/v3 projects, we look for the binary in the default
location. With the changes made in
setup-envtest
, the kb assetsare downloaded at tmp/k8s/<os_specific_location>. This fix sets
the KUBEBUILDER_ASSETS var to point to the location where they
are downloaded so that
make test
does not fail.More details on the issue: operator-framework/operator-sdk#5090