cert-controller icon indicating copy to clipboard operation
cert-controller copied to clipboard

Use "Get" by secret resourcename than "Watch" on all secrets.

Open eatwithforks opened this issue 3 years ago • 1 comments

https://github.com/open-policy-agent/cert-controller/blob/master/pkg/rotator/rotator.go#L587-L593

would be less overhead to do a GET on secret by secret-name than watching the full list of secrets

eatwithforks avatar Jan 22 '21 19:01 eatwithforks

+1 for avoid watch and list all secrets.

mozillazg avatar Aug 03 '21 08:08 mozillazg