Documentation uses deprecated variables for defining namespace scope in manager options #6843
Labels
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
While reading the operator-scope section, it seems that the documentation contains a deprecated manager Options type:
But if I check the type [Options}(https://pkg.go.dev/sigs.k8s.io/controller-runtime/pkg/manager#Options) the variables
Port
andMetricsBindAddress
are missing for me.We tried on our own to find a valid solution, like:
But we are getting strange errors when we start the operator:
What would be a valid new example for watching resources in a specific namespace or are we doing something wrong?
Thanks a lot.
The text was updated successfully, but these errors were encountered: