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

Add CertProvider to hot reload TLS certs for gRPC service #587

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jayme-github
Copy link

This implements a goruntime instance to watch for on disk changes of gRPC certificates.

Certificates will be reloaded in case of change and the gRPC service will always fetch the latest one via GetCertificate on new connections instead of the static Certificates slice.

This implements a goruntime instance to watch for on disk changes of
gRPC certificates. Certificates will be reloaded in case of change and
the gRPC service will always fetch the latest one via GetCertificate
instead of the static Certificates slice.

Bug: T362310
Change-Id: I24ca45820021744670d204c6bea41dd1b8303ac8
Signed-off-by: Janis Meybohm <jmeybohm@wikimedia.org>
Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add documentation for this change and optimally some kind of test?

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

Successfully merging this pull request may close these issues.

None yet

2 participants