open-policy-agent / kube-mgmt

Sidecar for managing OPA instances in Kubernetes.
Apache License 2.0
235 stars 105 forks source link

change to sharedInformer #183

Closed tehlers320 closed 1 year ago

tehlers320 commented 1 year ago

https://github.com/open-policy-agent/kube-mgmt/issues/142

im still not sure whats happening here, but client-go says this

// NewInformer returns a Store and a controller for populating the store
// while also providing event notifications. You should only used the returned
// Store for Get/List operations; Add/Modify/Deletes will cause the event
// notifications to be faulty.