Skip to content

Commit

Permalink
add instances and bindings to limited cache (#445)
Browse files Browse the repository at this point in the history
  • Loading branch information
kerenlahav authored Jun 6, 2024
1 parent 7063318 commit 7f6d2d5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,10 @@ func main() {
setupLog.Info("limited cache enabled")
mgrOptions.Cache = cache.Options{
ByObject: map[client.Object]cache.ByObject{
&v1.Secret{}: {Label: labels.SelectorFromSet(map[string]string{common.ManagedByBTPOperatorLabel: "true"})},
&v1.ConfigMap{}: {Label: labels.SelectorFromSet(map[string]string{common.ManagedByBTPOperatorLabel: "true"})},
&v1.Secret{}: {Label: labels.SelectorFromSet(map[string]string{common.ManagedByBTPOperatorLabel: "true"})},
&v1.ConfigMap{}: {Label: labels.SelectorFromSet(map[string]string{common.ManagedByBTPOperatorLabel: "true"})},
&servicesv1.ServiceInstance{}: {},
&servicesv1.ServiceBinding{}: {},
},
}
}
Expand Down

0 comments on commit 7f6d2d5

Please sign in to comment.