You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The SDK depends on GOPATH being set in a users' development/build environment to run certain commands. Specifically CheckAndGetProjectGoPkg() requires $GOPATH to get the project's repo, a value used in several scaffolds and pieces of SDK logic.
Describe the solution you'd like Go modules, which removes the GOPATH requirement for go projects in general, are now usable by existing and new operator projects through the SDK. The SDK should support the same behaviour.
Note: API packages are assumed to be rooted under $GOPATH by k8s.io/gengo, the parsing library used by controller-tools. The SDK uses controller-tools to generate CRD's. Until this issue is fixed (see this comment) the SDK cannot work outside of $GOPATH.
The text was updated successfully, but these errors were encountered:
Feature Request
Is your feature request related to a problem? Please describe.
The SDK depends on
GOPATH
being set in a users' development/build environment to run certain commands. SpecificallyCheckAndGetProjectGoPkg()
requires$GOPATH
to get the project's repo, a value used in several scaffolds and pieces of SDK logic.Describe the solution you'd like
Go modules, which removes the
GOPATH
requirement for go projects in general, are now usable by existing and new operator projects through the SDK. The SDK should support the same behaviour.Note: API packages are assumed to be rooted under
$GOPATH
byk8s.io/gengo
, the parsing library used bycontroller-tools
. The SDK usescontroller-tools
to generate CRD's. Until this issue is fixed (see this comment) the SDK cannot work outside of$GOPATH
.The text was updated successfully, but these errors were encountered: