Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
eatwithforks opened this issue Jan 22, 2021 · 1 comment
Open

Comments

@eatwithforks
Copy link

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

@mozillazg
Copy link

+1 for avoid watch and list all secrets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants