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
Create a new API and Controller (tutorial) What was changed (migration)
What needs fixing?
I think the documentation that references controllers and main.go is old. Seems like when I do operator-sdk init and operator-sdk create api, it generates cmd/main.go and internal/..._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:
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: