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

Fix client cert handling when cert reloading is enabled #697

Merged
merged 1 commit into from Mar 14, 2024

Conversation

cbroglie
Copy link
Contributor

Since cloudprober is the client, the dynamic cert loading needs to be implemented in GetClientCertificate rather than GetCertificate.

Since cloudprober is the client, the dynamic cert loading needs to be
implemented in GetClientCertificate rather than GetCertificate.
Copy link
Contributor

@manugarg manugarg left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this, Chris!

@manugarg manugarg merged commit b0f610d into cloudprober:master Mar 14, 2024
8 checks passed
@manugarg manugarg added this to the v0.13.3 milestone Mar 14, 2024
@cbroglie cbroglie deleted the dynamic-client-certs branch March 15, 2024 02:45
@cbroglie
Copy link
Contributor Author

No problem, sorry I didn't around to testing til now!

@markoposavec
Copy link
Contributor

This change breaks how certificate reloading works for grpc server, since in that context cloudprober is a server and it uses the same UpdateTLSConfig function that you changed 😢

@manugarg
Copy link
Contributor

#719 should add reloading behavior to server side certificates as well.

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

3 participants