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
What did you do?
run docker with operator-sdk in it
What did you expect to see?
operator-sdk run without any errors
What did you see instead? Under which circumstances?
time="2020-07-15T04:17:46Z" level=info msg="Running deepcopy code-generation for Custom Resource group versions: [app:[v1alpha1], ]\n"
F0715 04:17:46.926457 11 deepcopy.go:885] Hit an unsupported type invalid type for invalid type, from pkg/apis/app/v1alpha1.AppService
make: *** [Makefile:24: operator-sdk] Error 255
Environment
operator-sdk version: 0.18.2
go version:
1.13.8
The text was updated successfully, but these errors were encountered:
The SDK tool is working in the place where you added it. However, you are facing the issue Hit an unsupported type invalid type for invalid type, from which can be because you have an error in the implementation of (AppService)*_type.go or because of the local configuration is not accurate.
See here that this issue is common when the local env is not properly set. PS.: Just as a tip, you can looking for similar issues always to see if it was faced for others and how it was solved.
In order to fix this, you simply need to export the GOROOT environment variable $ export GOROOT=$(go env GOROOT)
PS.: may the #2979 (comment) help you see how Go works inside and outside of its path.
I am closing this one as sorted out. However, please feel free to ping us to re-open if you need and/or raise new issues. Note that, if you have further/other questions I'd kindly ask for you raise a new issue. We try to keep 1 subject/question per issue is helpful for we are able to collab with more assertively as easier to others who are facing similar issues and are looking in the tracked ones.
What did you do?
run docker with operator-sdk in it
What did you expect to see?
operator-sdk run without any errors
What did you see instead? Under which circumstances?
time="2020-07-15T04:17:46Z" level=info msg="Running deepcopy code-generation for Custom Resource group versions: [app:[v1alpha1], ]\n"
F0715 04:17:46.926457 11 deepcopy.go:885] Hit an unsupported type invalid type for invalid type, from pkg/apis/app/v1alpha1.AppService
make: *** [Makefile:24: operator-sdk] Error 255
Environment
1.13.8
The text was updated successfully, but these errors were encountered: