Skip to content

Commit

Permalink
fix(operator): review
Browse files Browse the repository at this point in the history
Signed-off-by: realanna <anna.reale@dynatrace.com>
  • Loading branch information
RealAnna committed Jan 31, 2023
1 parent 88e51f2 commit 8b91dd7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion operator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,8 @@ func main() {
// if you are doing or is intended to do any operation such as perform cleanups
// after the manager stops then its usage might be unsafe.
// LeaderElectionReleaseOnCancel: true,
ClientDisableCacheFor: disableCacheFor,
ClientDisableCacheFor: disableCacheFor, // due to https://github.com/kubernetes-sigs/controller-runtime/issues/550
// We disable secret informer cache so that the operator won't need clusterrole list access to secrets
})
if err != nil {
setupLog.Error(err, "unable to start manager")
Expand Down

0 comments on commit 8b91dd7

Please sign in to comment.