auditpolicycontroller: avoid unnecesary applyconfigmap calls#1987
auditpolicycontroller: avoid unnecesary applyconfigmap calls#1987vrutkovs wants to merge 2 commits intoopenshift:masterfrom
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: vrutkovs The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
1fe75c8 to
3166f3b
Compare
This would convert audit policy controller to use listers and compare contents with cached configmap to avoid extra apply calls
3166f3b to
936c427
Compare
Make sure that other configmap updates don't trigger auditpolicy controller - only target namespace / name configmap updates are making sync run. APIServer config and operator client informer events are not being filtered
936c427 to
0c1ebca
Compare
|
@vrutkovs: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
|
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
|
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
|
@openshift-bot: Closed this PR. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
This would convert audit policy controller to use listers and compare contents with cached configmap to avoid extra apply calls.
Tested in openshift/cluster-kube-apiserver-operator#1886