diff --git a/README.md b/README.md index 6233097..d065f14 100644 --- a/README.md +++ b/README.md @@ -4,4 +4,5 @@ scaffolded with ```console operator-sdk init --domain=bitmask.me --repo=git.zom.bi/images/keycloak-operator +# Edit Manager options to watch all namespaces (Namespace: "") ``` diff --git a/main.go b/main.go index 361a0e5..72220b1 100644 --- a/main.go +++ b/main.go @@ -62,6 +62,7 @@ func main() { ctrl.SetLogger(zap.New(zap.UseFlagOptions(&opts))) mgr, err := ctrl.NewManager(ctrl.GetConfigOrDie(), ctrl.Options{ + Namespace: "", // all namespaces Scheme: scheme, MetricsBindAddress: metricsAddr, Port: 9443,