Open harshvijaythakkar opened 3 months ago
Also, the tutorial is incompatible with go v1.22: https://github.com/operator-framework/operator-sdk/issues/6681 I think a warning would save time for many of us.
And the namespace scoping as described in the tutorial also doesn't work anymore. Please update to follow https://pkg.go.dev/sigs.k8s.io/controller-runtime/pkg/manager#example-New-LimitToNamespaces
What is the URL of the document?
Go Operator Tutorial
Which section(s) is the issue in?
Implement the Controller
What needs fixing?
The latest
operator-sdk version: "v1.34.0"
is pointing to wrong link formemcached_controller.go
file.Additional context
First Issue
When I click on memcached_controller.go it is giving 404 not found error. On the
"latest" branch
of operator-sdk repository undertestdata
path I don't seego/v3
folder.The correct file location of
memcached_controller.go
file is undertestdata/go/v4/memcached-operator/internal/controller/memcached_controller.go
On documentation I see following text
I think it needs to be changed to
Second Issue
On documentation I see following text
I think it needs to be changed to
If my understanding is correct I think I can also make changes but just want to confirm that my understanding is correct before raising PR for changes.