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

KV store connection TLS client certs not reloaded after renewal #148

Open
Legion2 opened this issue Jul 22, 2024 · 0 comments
Open

KV store connection TLS client certs not reloaded after renewal #148

Legion2 opened this issue Jul 22, 2024 · 0 comments

Comments

@Legion2
Copy link
Contributor

Legion2 commented Jul 22, 2024

To connect to KV store it is recommended to use authentication such as TLS client certificates. These certificates have a limited validity duration. So they are renewed before expiration. Currently modelmesh does not detect and reload the client certificates from disc if they have been updated/renewed. Only a restart of modelmesh loads the new certificates. This results in connection issues to the KV store and eventually failures, because state cannot be synced anymore.

When using modelmesh with kubernetes and using cert-manager to issue the client certificates, the certs are provided as secrets which are mounted into the container and cert-manager automatically updates them before expiration. However modelmesh does not use the new certificat.

Related to #135, can also function as workaround because it restart the pod on kv connection failures

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

1 participant