Skip to content
Merged
Prev Previous commit
Next Next commit
remove DefaultNamespace cache option
  • Loading branch information
larntz committed May 20, 2024
commit de88c026837d8161e2961844b1b57c0c55b3b701
3 changes: 0 additions & 3 deletions pkg/config/runtime_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,6 @@ func BuildRuntimeOptions(rtCfg RuntimeConfig, scheme *runtime.Scheme) ctrl.Optio
LeaderElectionNamespace: rtCfg.LeaderElectionNamespace,
Cache: cache.Options{
SyncPeriod: &rtCfg.SyncPeriod,
DefaultNamespaces: map[string]cache.Config{
rtCfg.WatchNamespace: cache.Config{},
},
},
Client: client.Options{
Cache: &client.CacheOptions{
Expand Down