Go tutorials are referencing old project layout #6821
Labels
kind/documentation
Categorizes issue or PR as related to documentation.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
What is the URL of the document?
https://sdk.operatorframework.io/docs/building-operators/golang/tutorial/
https://sdk.operatorframework.io/docs/building-operators/golang/migration/
...etc
Which section(s) is the issue in?
Create a new API and Controller
(tutorial)What was changed
(migration)What needs fixing?
I think the documentation that references
controllers
andmain.go
is old. Seems like when I dooperator-sdk init
andoperator-sdk create api
, it generatescmd/main.go
andinternal/..._controller.go
. Not sure which one is wrong, the docs or the init, but I'm guessing it's the docs.Additional context
I think there's more cases of the wrong project layout being referenced in the docs.
Operator-sdk version:
The text was updated successfully, but these errors were encountered: