update-codegen.sh doesn't work outside GOPATH
Open
area/API
kind/bug
lifecycle/frozen
- Dominant language
- Go
- Stars
- 276
- Forks
- 343
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
## Expected Behavior
hack/update-codegen.sh should work outside of GOPATH
## Actual Behavior
update-codegen either does nothing or uses an incorrect pkg version.
## Steps to Reproduce the Problem
1. Move repo outside of GOPATH.
2. Make a change to the injection generators.
3. Run ./hack/update-codegen.sh
4. Observe no change to generated code.
Contributor guide
Assessment
This issue has not been assessed yet.